776fb1f204
Change :Build{Dir} commands to global from buffer
2024-04-02 16:22:04 +01:00
61d734fbc0
Unmap <C-l> in netrw buffers so it can be used for natigation
2024-04-01 23:25:31 +01:00
ab2d68579f
Cleanup pyright LSP comment
2024-04-01 22:31:40 +01:00
ef922c82f5
Add plugin to expose clangd extensions
2024-04-01 19:49:52 +01:00
12f32b4d7d
Improve LSP mappings
2024-04-01 19:49:22 +01:00
89bca77ef4
Improve completion comments
2024-04-01 19:05:03 +01:00
0bfd392b20
Add rounded borders to LSP/Diagnostics float windows
2024-04-01 19:04:26 +01:00
890fe6f928
Reorder cmp sources so LSP results are first
2024-04-01 19:03:58 +01:00
1d1d922282
Add more language servers
...
* Ansible
* Bash
* Dockerfile/Docker Compose
* Sphinx
* HTML
* OpenCL
* Powershell
2024-04-01 19:02:36 +01:00
2f6b0ba33c
Add more cmp preset mappigns
...
* `<C-Space>` to trigger the complteion menu without a substring prefix
* `<C-d>`/`<C-u`> to scroll down/up in a completion item's documentation
2024-04-01 19:00:40 +01:00
7b17b794f6
Make column/line chunk match
2024-04-01 18:59:52 +01:00
e64316e336
Add mapping to fuzzy search word under cursor
2024-04-01 16:34:44 +01:00
1a6203e911
Add trouble.nvim plugin
2024-03-21 23:42:34 +00:00
7ae049437a
Cleanup colorscheme plugin file
2024-03-20 22:49:25 +00:00
c0ab67d3a4
Use [d & ]d for moving around diagnostics in normal mode
2024-03-20 22:18:10 +00:00
a283ab973a
Add noice but disable it
2024-03-20 22:17:59 +00:00
3daca6d6d8
Disable :intro on startup
2024-03-20 00:09:06 +00:00
8add996ea0
Determined why splash screen disappears on start
2024-03-19 23:46:34 +00:00
e8a420d99d
Add the :Rename command
2024-03-19 22:54:15 +00:00
c8b6476a2b
Ignore spl spell check file binaries
2024-03-19 17:10:01 +00:00
9f1c0228aa
Disable nvim_treesitter#indent() since its buggy on c++ files
2024-03-19 11:48:41 +00:00
831ac41440
Always make :Build/:BuildDir available
...
Don't attached this functionality to only c/cpp filetypes.
2024-03-18 20:02:54 +00:00
0c1328ead4
Add termdebug mappings
2024-03-17 23:33:44 +00:00
0feee4afbf
Fix use of opts in vim.keymap.set()
2024-03-17 23:33:25 +00:00
83403a8416
Add vim style mapping to get notmal mode in term:// buffer
2024-03-17 22:44:10 +00:00
50cc8ae3ab
Add autocmds to improve :terminal usability
2024-03-17 22:40:34 +00:00
51c3bf1b9e
Don't show line numbers in help buffers
2024-03-17 22:38:35 +00:00
b9be6fba5a
Fix - mapping sometimes landing on wrong filename
...
Instead of using Lua to search through all buffer lines and match the
file line containing the filename, instead use `search()` and wrap the
filename in word boundry delimiters `\<\>` to always match the whole
filename not a subscript. This also moves the cursor to that position
in the file.
2024-03-17 14:16:34 +00:00
c235fb88e1
Setup is required for unimpaired.nvim
2024-03-17 14:16:06 +00:00
772bf3a3c1
Tune cmake and requirements filetypes
2024-03-17 14:03:36 +00:00
6317d02148
Extend :Remove to accept bang :Remove!
...
This patch changes the behaviour `:Remove` to only remove the file,
leaving the current buffer untouched. `:Remove!` now has the old
behaviour of removing the file and the buffer.
2024-03-17 14:01:36 +00:00
21502aadd6
Add < and > to the C++ matchpairs setting for %
2024-03-17 14:01:01 +00:00
be5e7007c9
Override some more highlights
2024-03-16 23:19:06 +00:00
61dcbe301b
Remove fixme which doesn't seem necessary
2024-03-16 22:44:33 +00:00
2a6b777949
With fidget.nvim there's no need for statusline lsp info
2024-03-16 22:38:01 +00:00
f9825d9b69
Port over :TextWidth <N> command
2024-03-15 16:20:59 +00:00
355c4feecc
Add real-time LSP info with fidget
2024-03-15 00:15:42 +00:00
6533a96ba0
Fix netrw - mapping when in a buffer with no name/file
2024-03-14 23:57:41 +00:00
6c0c906cb2
Fix Quickfix/Location List statusmenu mode string
2024-03-14 23:36:23 +00:00
378c8b0be4
Improve LSP configuration
...
* Add more recommended mappings
* Add Python LSP support with PyRight and Ruff
2024-03-14 23:35:35 +00:00
4072fd3ccf
Add a couple of plugins to pretty up the place
2024-03-14 23:34:09 +00:00
77452d989d
Add :Remove command, to remove file of current buffer
2024-03-14 23:17:27 +00:00
f93360d854
Actually run compdb asynchronously
...
Turns out vim.schedule() only defers calling the function until main
event loop has some free cycles but can still block the UI, just a bit
later. This patch replaces the external command invoked in the callback
passed into vim.schedule() with vim.fn.jobstart() and moves the other
code into job callbacks.
2024-03-14 21:17:36 +00:00
fb2d661a0e
Remove J/K mappings to move block up/down a line
2024-03-14 20:41:58 +00:00
d774c2867f
Fix indentation of namespace snippet
2024-03-13 20:16:32 +00:00
49af40c918
Add more Telescope LSP mappings
2024-03-13 20:16:15 +00:00
f49f56d043
Ignore warnings from compdb in :BuildDir
2024-03-13 20:15:41 +00:00
0d04a9812c
Add tree-sitter based text objects
...
Mappings for:
* functions
* function arguments/parameters
* comments
2024-03-12 22:18:13 +00:00
eae24ab24c
Add namespace snippet
2024-03-12 20:10:17 +00:00
6c941341ff
Fix loading of vim-fugitive
2024-03-12 19:40:57 +00:00