diff options
Diffstat (limited to 'vim/kickstarter.lua')
-rw-r--r-- | vim/kickstarter.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vim/kickstarter.lua b/vim/kickstarter.lua index cdc919f..56e412b 100644 --- a/vim/kickstarter.lua +++ b/vim/kickstarter.lua | |||
@@ -128,6 +128,14 @@ require('lazy').setup({ | |||
128 | 'itchyny/lightline.vim', | 128 | 'itchyny/lightline.vim', |
129 | 'preservim/nerdtree', | 129 | 'preservim/nerdtree', |
130 | 130 | ||
131 | -- hop.nvim | ||
132 | { | ||
133 | 'smoka7/hop.nvim', | ||
134 | version = "*", | ||
135 | opts = { | ||
136 | keys = 'etovxqpdygfblzhckisuran' | ||
137 | } | ||
138 | }, | ||
131 | 139 | ||
132 | -- NOTE: This is where your plugins related to LSP can be installed. | 140 | -- NOTE: This is where your plugins related to LSP can be installed. |
133 | -- The configuration is done below. Search for lspconfig to find it below. | 141 | -- The configuration is done below. Search for lspconfig to find it below. |
@@ -372,6 +380,10 @@ vim.cmd("map <leader>nf :NERDTreeFind<cr>") | |||
372 | vim.o.autochdir = 1 | 380 | vim.o.autochdir = 1 |
373 | -- vim.cmd("autocmd BufWinEnter * if &buftype != 'quickfix' && getcmdwintype() == '' | silent NERDTreeMirror | endif") | 381 | -- vim.cmd("autocmd BufWinEnter * if &buftype != 'quickfix' && getcmdwintype() == '' | silent NERDTreeMirror | endif") |
374 | 382 | ||
383 | -- [ Configure Hop ] | ||
384 | vim.keymap.set('n', 't', ':HopWord<CR>') | ||
385 | vim.keymap.set('n', 'T', ':HopChar<CR>') | ||
386 | |||
375 | -- [[ Highlight on yank ]] | 387 | -- [[ Highlight on yank ]] |
376 | -- See `:help vim.highlight.on_yank()` | 388 | -- See `:help vim.highlight.on_yank()` |
377 | local highlight_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true }) | 389 | local highlight_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true }) |