Add hlslens
This commit is contained in:
parent
5667f59c6f
commit
805b126491
11
nvim/hlslens.vimrc
Normal file
11
nvim/hlslens.vimrc
Normal file
@ -0,0 +1,11 @@
|
||||
noremap <silent> n <Cmd>execute('normal! ' . v:count1 . 'n')<CR>
|
||||
\<Cmd>lua require('hlslens').start()<CR>
|
||||
noremap <silent> N <Cmd>execute('normal! ' . v:count1 . 'N')<CR>
|
||||
\<Cmd>lua require('hlslens').start()<CR>
|
||||
noremap * *<Cmd>lua require('hlslens').start()<CR>
|
||||
noremap # #<Cmd>lua require('hlslens').start()<CR>
|
||||
noremap g* g*<Cmd>lua require('hlslens').start()<CR>
|
||||
noremap g# g#<Cmd>lua require('hlslens').start()<CR>
|
||||
|
||||
" use : instead of <Cmd>
|
||||
nnoremap <silent> <leader>l :noh<CR>
|
@ -1,6 +1,7 @@
|
||||
" Assorted plugins
|
||||
Plug 'cespare/vim-toml', { 'for': 'toml' }
|
||||
Plug 'chrisbra/unicode.vim'
|
||||
Plug 'kevinhwang91/nvim-hlslens'
|
||||
Plug 'leafgarland/typescript-vim', { 'for': 'typescript' }
|
||||
Plug 'leafoftree/vim-svelte-plugin', { 'for': 'svelte' }
|
||||
Plug 'lukas-reineke/indent-blankline.nvim'
|
||||
|
5
vimrc
5
vimrc
@ -98,6 +98,11 @@ if filereadable(expand("~/.config/nvim/telescope.vimrc"))
|
||||
source ~/.config/nvim/telescope.vimrc
|
||||
endif
|
||||
|
||||
" Search
|
||||
if filereadable(expand("~/.config/nvim/hlslens.vimrc"))
|
||||
source ~/.config/nvim/hlslens.vimrc
|
||||
endif
|
||||
|
||||
" Lightline setup
|
||||
if filereadable(expand("~/.config/nvim/lightline.vimrc"))
|
||||
source ~/.config/nvim/lightline.vimrc
|
||||
|
Loading…
x
Reference in New Issue
Block a user