add vim-go and those setting
This commit is contained in:
@@ -17,6 +17,7 @@ Plug 'vimwiki/vimwiki'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'tpope/vim-commentary'
|
||||
Plug 'ap/vim-css-color'
|
||||
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
||||
call plug#end()
|
||||
|
||||
set title
|
||||
@@ -39,6 +40,7 @@ set noshowcmd
|
||||
set number relativenumber
|
||||
" Enable autocompletion:
|
||||
set wildmode=longest,list,full
|
||||
set completeopt=longest,menuone
|
||||
" Disables automatic commenting on newline:
|
||||
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
||||
" Perform dot commands over visual blocks:
|
||||
@@ -154,3 +156,4 @@ nnoremap <leader>h :call ToggleHiddenAll()<CR>
|
||||
" So ":vs ;cfz" will expand into ":vs /home/<user>/.config/zsh/.zshrc"
|
||||
" if typed fast without the timeout.
|
||||
source ~/.config/nvim/shortcuts.vim
|
||||
au filetype go inoremap <buffer> . .<C-x><C-o>
|
||||
|
||||
Reference in New Issue
Block a user