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
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
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
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
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
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
6c941341ff
Fix loading of vim-fugitive
2024-03-12 19:40:57 +00:00
eaa63924e2
Make telescope mappings consistent
2024-03-11 22:34:08 +00:00
4644f7e6fa
Add unimpaired.nvim plugin
2024-03-11 20:26:07 +00:00
3353b099be
Port custom statusline from vimscript & change colors
2024-03-11 00:09:16 +00:00
0656de97fa
Implement :BuildDir and :Build commands in Lua
...
Ported over from and improved for best integration with Neovim ecosystem
https://code.infektor.net/config/vim/src/branch/master/autoload/build.vim
2024-03-09 16:42:12 +00:00
51ae7955f7
Tweak kanagawa theme
2024-03-08 20:12:40 +00:00
598c389741
Add Telescope Devicons dependency
2024-03-06 20:15:32 +00:00
f8fddc405e
Use fzy for faster Telescope filtering
2024-03-06 20:15:04 +00:00
828db0d073
Tweak Telescope mappings to my liking
2024-03-06 20:14:39 +00:00
9e5b1597ba
Make Telescope help tags mapping the proper pneumonic
2024-03-06 20:13:36 +00:00
41736377bd
Remove tab mapping todo, went another way
2024-03-06 19:48:08 +00:00
0c7636dfa5
Add snippet mappings & being porting snippets
2024-03-05 23:36:41 +00:00
781cb49cb2
Tune completion sources & update comment
2024-03-05 23:35:36 +00:00
6ef97d96c5
Add code actions prefix UI
...
Not only does this show a diff of the selected code action before you
apply it, it uses Telescope for display and selection of the desired
code action.
2024-03-05 23:34:20 +00:00
e314314574
Switch to <C-l> to confirm completions
...
Previous mapping of <C-y> caused issues due to y being too close to u so
fat fingers would immediately undo the completion expansion.
2024-03-05 23:32:20 +00:00
983d11e48c
Make visual mode text-case mappings more ergonomic
2024-03-05 23:31:40 +00:00
ef84de559f
Use vim.opt.listchars properly
2024-03-05 23:31:07 +00:00