This commit is contained in:
Julian Ospald 2020-10-12 21:33:25 +02:00
parent 65013e1ac5
commit f559e8b242
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
4 changed files with 12 additions and 5 deletions

View File

@ -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='<args>'
let g:clap_layout = {'relative': 'editor', 'width': '95%', 'height': '33%', 'row': '33%', 'col': '5%'}
let g:clap_use_pure_python = 1

View File

@ -320,7 +320,7 @@ vnoremap <silent> <F10> <ESC>:call NERDComment("v", "Toggle")<cr>
nmap <C-F4> :YcmCompleter GoTo<CR>:wincmd o<CR>
" vim-clap
nnoremap <leader>ag :Clap grep2 ++query=<cword><CR>
nnoremap <leader>ag :Clap grep ++query=<cword><CR>
" nnoremap <silent> <leader>tg :Clap proj_tags ++query=<cword><CR>
nmap <C-f> :Clap files<CR>
nmap <C-t> :Clap tags<CR>

View File

@ -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]]

5
vimrc
View File

@ -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'