mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Merge branch 'master' of https://github.com/vladdoster/dotfiles
This commit is contained in:
commit
f2d45d0760
@ -14,7 +14,6 @@ Plug 'scrooloose/nerdtree'
|
||||
Plug 'junegunn/goyo.vim'
|
||||
Plug 'PotatoesMaster/i3-vim-syntax'
|
||||
Plug 'jreybert/vimagit'
|
||||
Plug 'lukesmithxyz/vimling'
|
||||
Plug 'vimwiki/vimwiki'
|
||||
Plug 'bling/vim-airline'
|
||||
Plug 'tpope/vim-commentary'
|
||||
@ -52,13 +51,6 @@ set clipboard+=unnamedplus
|
||||
map <leader>n :NERDTreeToggle<CR>
|
||||
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
|
||||
|
||||
" vimling:
|
||||
nm <leader>d :call ToggleDeadKeys()<CR>
|
||||
imap <leader>d <esc>:call ToggleDeadKeys()<CR>a
|
||||
nm <leader>i :call ToggleIPA()<CR>
|
||||
imap <leader>i <esc>:call ToggleIPA()<CR>a
|
||||
nm <leader>q :call ToggleProse()<CR>
|
||||
|
||||
" Shortcutting split navigation, saving a keypress:
|
||||
map <C-h> <C-w>h
|
||||
map <C-j> <C-w>j
|
||||
@ -68,10 +60,6 @@ set clipboard+=unnamedplus
|
||||
" Check file in shellcheck:
|
||||
map <leader>s :!clear && shellcheck %<CR>
|
||||
|
||||
" Open my bibliography file in split
|
||||
map <leader>b :vsp<space>$BIB<CR>
|
||||
map <leader>r :vsp<space>$REFER<CR>
|
||||
|
||||
" Replace all is aliased to S.
|
||||
nnoremap S :%s//g<Left><Left>
|
||||
|
||||
@ -110,7 +98,9 @@ set clipboard+=unnamedplus
|
||||
autocmd BufWritePost *Xresources,*Xdefaults !xrdb %
|
||||
" Update binds when sxhkdrc is updated.
|
||||
autocmd BufWritePost *sxhkdrc !pkill -USR1 sxhkd
|
||||
" coc stuff
|
||||
|
||||
" Code completion stuff
|
||||
" ########################
|
||||
set nobackup
|
||||
set nowritebackup
|
||||
|
||||
@ -127,7 +117,8 @@ function! s:check_back_space() abort
|
||||
return !col || getline('.')[col - 1] =~# '\s'
|
||||
endfunction
|
||||
|
||||
|
||||
" Add status line support, for integration with other plugin, checkout `:h coc-status`
|
||||
set statusline^=%{coc#status()}%{get(b:,'coc_current_function','')}
|
||||
|
||||
" You will have bad experience for diagnostic messages when it's default 4000.
|
||||
set updatetime=300
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user