Skip to content

Instantly share code, notes, and snippets.

@higedice
Last active July 24, 2019 03:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save higedice/c2dc2e7f8f3a6bc2756f89344a7ca130 to your computer and use it in GitHub Desktop.
Save higedice/c2dc2e7f8f3a6bc2756f89344a7ca130 to your computer and use it in GitHub Desktop.
My .gvimrc GVIM config file.
colors koehler
set guioptions+=T
set showtabline=2
let s:menutop = 'ユーザー'
if has('win32')
let s:menutop .= '(&U)'
endif
let s:dir = expand('%:p:h')
if has('win32')
let s:menudir = substitute(s:dir, '\\', '\\\\', 'g')
else
let s:menudir = s:dir
endif
execute('menu ' . s:menutop . '.ディレクトリ.cd\ - :cd -<CR>')
execute('menu ' . s:menutop . '.ディレクトリ.cd\ ~ :cd ~<CR>')
execute('menu ' . s:menutop . '.ディレクトリ.cd\ ' . s:menudir . ' :cd ' . s:dir . '<CR>')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment