Accueil

NeoVim

NeoVim

Custom Vi setup which use to be the old init.vim and then I didn't want to convert everything to lua and started with nvim-basic-ide. From there added more plugins relating to my tmux setup and test harnesses.

nvim configs

Plugins

Keymaps

  • n *@<Lua function 209>
  • n c *@:e ~/.config/nvim/init.lua
  • n c *@:e ~/.config/nvim/init.lua
  • n e *@:ene startinsert
  • n f *@:Telescope find_files
  • n p *@:lua require('telescope').extensions.projects.projects()
  • n q *@:qa
  • n r *@:Telescope oldfiles
  • n t *@:Telescope live_grep
  • n *@<Lua function 214>
  • n * lua require'tmux'.move_left()
  • s * <Lua function 258> cmp.utils.keymap.set_map
  • n * lua require'tmux'.move_bottom()
  • n * lua require'tmux'.move_top()
  • n * lua require'tmux'.move_right()
  • n * lua require("which-key").show("\23", {mode = "n", auto = true})
  • n <C-\> * execute v:count . "ToggleTerm"
  • x * lua require("which-key").show(" ", {mode = "v", auto = true})
  • n * lua require("which-key").show(" ", {mode = "n", auto = true})
  • n tg * :TestVisit
  • n tl * :TestLast
  • n ta * :TestSuite
  • n tT * :TestFile
  • n tt * :TestNearest
  • n dt * lua require'dap'.terminate()
  • n du * lua require'dapui'.toggle()
  • n dl * lua require'dap'.run_last()
  • n dr * lua require'dap'.repl.toggle()
  • n dO * lua require'dap'.step_out()
  • n do * lua require'dap'.step_over()
  • n di * lua require'dap'.step_into()
  • n dc * lua require'dap'.continue()
  • n db * lua require'dap'.toggle_breakpoint()
  • x / * lua require("Comment.api").toggle_linewise_op(vim.fn.visualmode())
  • n / * lua require('Comment.api').toggle_current_linewise()
  • n gg * lua _LAZYGIT_TOGGLE()
  • n fb * :Telescope buffers
  • n fp * :Telescope projects
  • n ft * :Telescope live_grep
  • n ff * :Telescope find_files
  • n e * :NvimTreeToggle
  • n h * nohlsearch
  • n ! * lua require("which-key").show("!", {mode = "n", auto = true})
  • n " * v:lua.tmux.sync_registers('"')
  • o % (MatchitOperationForward)
  • x % (MatchitVisualForward)
  • n % (MatchitNormalForward)
  • n ' * lua require("which-key").show("'", {mode = "n", auto = true})
  • n < * lua require("which-key").show("<", {mode = "n", auto = true})
  • v < * <gv
  • n > * lua require("which-key").show(">", {mode = "n", auto = true})
  • v > * >gv
  • n @ * lua require("which-key").show("@", {mode = "n", auto = true})
  • n H * :bprevious
  • n L * :bnext
  • n P * v:lua.tmux.sync_registers('P')
  • n Q * Bdelete!
  • n Y * y$
  • x [ * lua require("which-key").show("[", {mode = "v", auto = true})
  • n [ * lua require("which-key").show("[", {mode = "n", auto = true})
  • o [% (MatchitOperationMultiBackward)
  • x [% (MatchitVisualMultiBackward)
  • n [% (MatchitNormalMultiBackward)
  • x ] * lua require("which-key").show("]", {mode = "v", auto = true})
  • n ] * lua require("which-key").show("]", {mode = "n", auto = true})
  • o ]% (MatchitOperationMultiForward)
  • x ]% (MatchitVisualMultiForward)
  • n ]% (MatchitNormalMultiForward)
  • n ` * lua require("which-key").show("`", {mode = "n", auto = true})
  • x a * lua require("which-key").show("a", {mode = "v", auto = true})
  • x a% (MatchitVisualTextObject)
  • n c * lua require("which-key").show("c", {mode = "n", auto = true})
  • n d * lua require("which-key").show("d", {mode = "n", auto = true})
  • x g * lua require("which-key").show("g", {mode = "v", auto = true})
  • n g * lua require("which-key").show("g", {mode = "n", auto = true})
  • x gx NetrwBrowseXVis
  • n gx NetrwBrowseX
  • o g% (MatchitOperationBackward)
  • x g% (MatchitVisualBackward)
  • n g% (MatchitNormalBackward)
  • n gcA * <Lua function 50> Comment insert end of line
  • n gcO * <Lua function 49> Comment insert above
  • n gco * <Lua function 48> Comment insert below
  • x gb * (comment_toggle_blockwise_visual) Comment toggle blockwise (visual)
  • x gc * (comment_toggle_linewise_visual) Comment toggle linewise (visual)
  • n gbc * <Lua function 43> Comment toggle current block
  • n gcc * <Lua function 42> Comment toggle current line
  • n gb * (comment_toggle_blockwise) Comment toggle blockwise
  • n gc * (comment_toggle_linewise) Comment toggle linewise
  • x i * lua require("which-key").show("i", {mode = "v", auto = true})
  • n p * v:lua.tmux.sync_registers('p')
  • v p * "_dP
  • n v * lua require("which-key").show("v", {mode = "n", auto = true})
  • n y * lua require("which-key").show("y", {mode = "n", auto = true})
  • n z * lua require("which-key").show("z", {mode = "n", auto = true})
  • s * <Lua function 244> cmp.utils.keymap.set_map
  • n PlenaryTestFile * :lua require('plenary.test_harness').test_directory(vim.fn.expand("%:p"))
  • s luasnip-jump-prev * lua require'luasnip'.jump(-1)
  • s luasnip-jump-next * lua require'luasnip'.jump(1)
  • s luasnip-prev-choice * lua require'luasnip'.change_choice(-1)
  • s luasnip-next-choice * lua require'luasnip'.change_choice(1)
  • s luasnip-expand-snippet * lua require'luasnip'.expand()
  • s luasnip-expand-or-jump * lua require'luasnip'.expand_or_jump()
  • luasnip-expand-repeat * lua require'luasnip'.expand_repeat()
  • luasnip-delete-check * lua require'luasnip'.unlink_current_if_deleted()
  • x (comment_toggle_blockwise_visual) * lua require("Comment.api").locked("toggle.blockwise")(vim.fn.visualmode()) Comment toggle blockwise (visual)
  • x (comment_toggle_linewise_visual) * lua require("Comment.api").locked("toggle.linewise")(vim.fn.visualmode()) Comment toggle linewise (visual) Comment insert below
  • n (comment_toggle_blockwise_count) * <Lua function 166> Comment toggle blockwise with count
  • n (comment_toggle_linewise_count) * <Lua function 129> Comment toggle linewise with count
  • n (comment_toggle_blockwise_current) * <Lua function 56> Comment toggle current block
  • n (comment_toggle_linewise_current) * <Lua function 61> Comment toggle current line
  • n (comment_toggle_blockwise) * <Lua function 165> Comment toggle blockwise
  • n (comment_toggle_linewise) * <Lua function 162> Comment toggle linewise
  • n * lua require'tmux'.resize_left()
  • n * lua require'tmux'.resize_top()
  • n * lua require'tmux'.resize_right()
  • n * lua require'tmux'.resize_bottom()
  • n (fzf-insert) * i
  • x NetrwBrowseXVis * :call netrw#BrowseXVis()
  • n NetrwBrowseX * :call netrw#BrowseX(netrw#GX(),netrw#CheckIfRemote(netrw#GX()))
  • x (MatchitVisualTextObject) (MatchitVisualMultiBackward)o(MatchitVisualMultiForward)
  • o (MatchitOperationMultiForward) * :call matchit#MultiMatch("W", "o")
  • o (MatchitOperationMultiBackward) * :call matchit#MultiMatch("bW", "o")
  • x (MatchitVisualMultiForward) * :call matchit#MultiMatch("W", "n")m'gv``
  • x (MatchitVisualMultiBackward) * :call matchit#MultiMatch("bW", "n")m'gv``
  • n (MatchitNormalMultiForward) * :call matchit#MultiMatch("W", "n")
  • n (MatchitNormalMultiBackward) * :call matchit#MultiMatch("bW", "n")
  • o (MatchitOperationBackward) * :call matchit#Match_wrapper('',0,'o')
  • o (MatchitOperationForward) * :call matchit#Match_wrapper('',1,'o')
  • x (MatchitVisualBackward) * :call matchit#Match_wrapper('',0,'v')m'gv``
  • x (MatchitVisualForward) * :call matchit#Match_wrapper('',1,'v'):if col("''") != col("$") | exe ":normal! m'" | endifgv``
  • n (MatchitNormalBackward) * :call matchit#Match_wrapper('',0,'n')
  • n (MatchitNormalForward) * :call matchit#Match_wrapper('',1,'n')
  • n * lua require"illuminate".next_reference{reverse=true,wrap=true}
  • n * lua require"illuminate".next_reference{wrap=true}