Add some tips
parent
6ba2bf354b
commit
b00b6baea5
|
@ -2,9 +2,13 @@
|
||||||
" Tips:
|
" Tips:
|
||||||
"
|
"
|
||||||
" - :noh to clear highlighting
|
" - :noh to clear highlighting
|
||||||
" - gd to go to definition
|
|
||||||
" - g* to search for current word
|
" - g* to search for current word
|
||||||
" - gq to reformat line into column
|
" - gq to reformat line into column
|
||||||
|
" - y[motion] to yank, d[motion] to cut
|
||||||
|
" - "[reg] to yank/cut/paste to reg
|
||||||
|
" - ys[motion][char] to add surrounding chars
|
||||||
|
" - gS, gJ to split and join multiline statements
|
||||||
|
" - gd to go to Go definition
|
||||||
"
|
"
|
||||||
|
|
||||||
call plug#begin()
|
call plug#begin()
|
||||||
|
@ -53,11 +57,12 @@ autocmd FileType go nmap <leader>r <Plug>(go-run)
|
||||||
|
|
||||||
Plug 'posva/vim-vue'
|
Plug 'posva/vim-vue'
|
||||||
|
|
||||||
" gutter: git
|
" git
|
||||||
|
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
Plug 'tpope/vim-fugitive'
|
||||||
|
|
||||||
" quotes
|
" extra motions
|
||||||
|
|
||||||
Plug 'tpope/vim-surround'
|
Plug 'tpope/vim-surround'
|
||||||
Plug 'tpope/vim-repeat'
|
Plug 'tpope/vim-repeat'
|
||||||
|
|
Loading…
Reference in New Issue