Skip to content

Instantly share code, notes, and snippets.

@higedice
Last active Jul 24, 2019
Embed
What would you like to do?
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