diff --git a/after/plugin/plugin_settings.vim b/after/plugin/plugin_settings.vim index dda822b..aa35017 100644 --- a/after/plugin/plugin_settings.vim +++ b/after/plugin/plugin_settings.vim @@ -216,3 +216,9 @@ augroup END let g:lsp_auto_enable = 0 " command -nargs=0 LspStart call lsp#activate() + + +" clap +command -nargs=* Rag Clap grep ++query='' +let g:clap_layout = {'relative': 'editor', 'width': '95%', 'height': '33%', 'row': '33%', 'col': '5%'} +let g:clap_use_pure_python = 1 diff --git a/plugin/keys.vim b/plugin/keys.vim index cdd6b2c..396853c 100644 --- a/plugin/keys.vim +++ b/plugin/keys.vim @@ -320,7 +320,7 @@ vnoremap :call NERDComment("v", "Toggle") nmap :YcmCompleter GoTo:wincmd o " vim-clap -nnoremap ag :Clap grep2 ++query= +nnoremap ag :Clap grep ++query= " nnoremap tg :Clap proj_tags ++query= nmap :Clap files nmap :Clap tags diff --git a/plugins.toml b/plugins.toml index 758c2e0..d84b52d 100644 --- a/plugins.toml +++ b/plugins.toml @@ -10,10 +10,10 @@ repo = 'vim-scripts/genindent.vim' repo = 'scrooloose/nerdcommenter' [[plugins]] repo = 'scrooloose/nerdtree' -on_cmd = 'NERDTreeToggle' +on_event = 'NERDTreeToggle' [[plugins]] repo = 'Xuyuanp/nerdtree-git-plugin' -on_cmd = 'NERDTreeToggle' +on_event = 'NERDTreeToggle' [[plugins]] repo = 'xolox/vim-easytags' [[plugins]] diff --git a/vimrc b/vimrc index 1b9553d..4abfdd0 100644 --- a/vimrc +++ b/vimrc @@ -3,6 +3,8 @@ " no ATTENTION messages when swap file is already found set shortmess+=A +let g:pymode_python = 'python3' + " plugin stuff filetype plugin on filetype indent on @@ -37,8 +39,6 @@ if dein#load_state('/home/jule/.cache/dein') call dein#save_state() endif - - " ===== further plugin initialization and default config ===== so ~/.vim/plugged/cmdalias.vim/plugin/cmdalias.vim @@ -93,6 +93,7 @@ set directory=~/.vimtmp set modeline set modelines=1 set autoindent +set laststatus=2 let g:nickID = 'hasufell'