mirror of
1
0
Fork 0

Init basic.vim and add YouCompleteMe

This commit is contained in:
Cong Wang 2021-10-03 17:00:45 +02:00
parent d93dda4770
commit a3191e681b
4 changed files with 13 additions and 3 deletions

4
.gitignore vendored
View File

@ -4,7 +4,7 @@ temp_dirs/yankring_history_v2.txt
sources_forked/yankring/doc/tags
sources_non_forked/tlib/doc/tags
sources_non_forked/ctrlp.vim/doc/tags*
my_plugins/
my_configs.vim
tags
.DS_Store
/* my_plugins/ */
/* my_configs.vim */

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "my_plugins/YouCompleteMe"]
path = my_plugins/YouCompleteMe
url = https://github.com/ycm-core/YouCompleteMe.git

@ -0,0 +1 @@
Subproject commit 4117a99861b537830d717c3113e3d584523bc573

View File

@ -323,11 +323,17 @@ noremap <Leader>m mmHmt:%s/<C-V><cr>//ge<cr>'tzt'm
map <leader>q :e ~/buffer<cr>
" Quickly open a markdown buffer for scribble
map <leader>x :e ~/buffer.md<cr>
" Changed by Cong --19.09.2021
" map <leader>x :e ~/buffer.md<cr>
" Toggle paste mode on and off
map <leader>pp :setlocal paste!<cr>
" --cong.w fast quit
map <leader>q :q<cr>
" --cong.w paste
set clipboard=unnamed
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Helper functions