diff options
-rw-r--r-- | .gitmodules | 3 | ||||
-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 | ||||
m--------- | .vim/pack/submodule/start/vim-javascript | 0 | ||||
-rw-r--r-- | .vimrc | 5 |
7 files changed, 10 insertions, 11 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a3eb48a --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule ".vim/pack/submodule/start/vim-javascript"] + path = .vim/pack/submodule/start/vim-javascript + url = https://github.com/pangloss/vim-javascript 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 diff --git a/.vim/pack/submodule/start/vim-javascript b/.vim/pack/submodule/start/vim-javascript new file mode 160000 +Subproject c470ce1399a544fe587eab950f571c83cccfbbd @@ -20,6 +20,7 @@ set secure set exrc set noerrorbells set noshowmode +set updatetime=400 " use for populating filename in quickfix set errorformat+=%f @@ -50,7 +51,8 @@ if has('macunix') set guifont=Monaco:h15 endif -set nofoldenable +set foldenable +set foldlevelstart=99 set hidden @@ -148,6 +150,7 @@ packadd! onedark.vim silent colorscheme onedark packadd matchit +packadd editorconfig if !empty(glob('~/.vim_local')) source ~/.vim_local |