diff options
Diffstat (limited to '.vim/after')
-rw-r--r-- | .vim/after/plugin/fzf.vim | 1 | ||||
-rw-r--r-- | .vim/after/plugin/lsp.vim | 9 | ||||
-rw-r--r-- | .vim/after/plugin/minpac.vim | 1 | ||||
-rw-r--r-- | .vim/after/plugin/noteutil.vim | 2 |
4 files changed, 3 insertions, 10 deletions
diff --git a/.vim/after/plugin/fzf.vim b/.vim/after/plugin/fzf.vim index 648cb54..4812000 100644 --- a/.vim/after/plugin/fzf.vim +++ b/.vim/after/plugin/fzf.vim @@ -61,6 +61,7 @@ noremap <leader>fm :FzfHistory<CR> noremap <leader>ft :FzfBTags<CR> noremap <leader>fT :FzfTags<CR> noremap <leader>fr :FzfRg<space> +noremap <leader>rg :FzfRg<space> noremap <leader>fc :FzfCommands<CR> noremap <leader>fgc :FzfBCommits<CR> noremap <leader>fgC :FzfCommits<CR> diff --git a/.vim/after/plugin/lsp.vim b/.vim/after/plugin/lsp.vim index 6641005..be41ceb 100644 --- a/.vim/after/plugin/lsp.vim +++ b/.vim/after/plugin/lsp.vim @@ -57,15 +57,6 @@ if executable('godot') \ }) endif -if executable('noteutil') - au User lsp_setup - \ call lsp#register_server({ - \ 'name': 'noteutil', - \ 'cmd': {server_info->['noteutil', 'server', '--lsp']}, - \ 'allowlist': ['markdown'] - \ }) -endif - " https://github.com/mickael-menu/zk " if executable('zk') " au User lsp_setup call lsp#register_server({ diff --git a/.vim/after/plugin/minpac.vim b/.vim/after/plugin/minpac.vim index ff31f80..f895def 100644 --- a/.vim/after/plugin/minpac.vim +++ b/.vim/after/plugin/minpac.vim @@ -42,7 +42,6 @@ function! InitMinpac() abort call minpac#add('https://github.com/airblade/vim-rooter.git') call minpac#add('https://github.com/mbbill/undotree.git') call minpac#add('https://github.com/godlygeek/tabular.git') - call minpac#add('https://github.com/editorconfig/editorconfig-vim.git') call minpac#add('https://github.com/dhruvasagar/vim-table-mode.git') call minpac#add('https://github.com/junegunn/vim-easy-align') call minpac#add('https://github.com/romainl/vim-qf.git') diff --git a/.vim/after/plugin/noteutil.vim b/.vim/after/plugin/noteutil.vim index a3371c6..9747595 100644 --- a/.vim/after/plugin/noteutil.vim +++ b/.vim/after/plugin/noteutil.vim @@ -6,3 +6,5 @@ command! NoteutilYesterdayWeekly call noteutil#open( \ 'journal --date yesterday --period weekly') command! NoteutilBacklinks call noteutil#backlinks({'jump': v:true}) + +autocmd FileType markdown setlocal omnifunc=noteutil#complete |