Skip to content

Instantly share code, notes, and snippets.

View qvacua's full-sized avatar
👋

Tae Won Ha qvacua

👋
View GitHub Profile
@qvacua
qvacua / init.vim
Created December 3, 2022 14:11
init.vim
syntax on
filetype plugin indent on
call plug#begin('~/.vim/plugged')
if has("gui_vimr")
else
Plug 'christoomey/vim-tmux-navigator'
endif
@qvacua
qvacua / .gitconfig
Last active March 12, 2019 09:09
gitconfig and VimR command for git difftool with DirDiff.vim
[difftool "vimrdiff"]
cmd = vimr --wait --nvim '+au GUIEnter * execute \"DirDiff\" argv(0) argv(1)' '+au GUIEnter * VimRDirDiff' $LOCAL $REMOTE
[diff]
tool = vimrdiff
# When you now use git difftool, then the VimR window will be maximized and all tools hidden.
# And these settings will not be persisted
@qvacua
qvacua / ginit.vim
Created March 12, 2019 08:57
VimR command for making the session temporary and maximize the window
function! s:VimRTempMaxWin() abort
VimRMakeSessionTemporary " The tools, tool buttons and window settings are not persisted
VimRHideTools
VimRMaximizeWindow
endfunction
command! -nargs=0 VimRTempMaxWin call s:VimRTempMaxWin()
" Call the following in the command line
" $ vimr --nvim '+au GUIEnter * VimRTempMaxWin' SOME_FILE

Keybase proof

I hereby claim:

  • I am qvacua on github.
  • I am hataewon (https://keybase.io/hataewon) on keybase.
  • I have a public key ASBPOja5dztBYwe3oGy7asGsxrnDr4K2F-bjvx4T0Fymswo

To claim this, I am signing this object: