2018年2月20日 星期二

紀錄一下我的 .vimrc

execute pathogen#infect()
syntax on
filetype plugin indent on
colorscheme monokai_pro "https://github.com/Erichain/vim-monokai-pro
set nu
set noundofile 
set cursorline 
set guifont=Consolas:h12 "for my windows desktop
set enc=utf-8
map <F10> :NERDTree<CR> "hotkey for NERDTree

註:Windows 下要建立 _vimrc 檔案,放在使用者目錄下。
Colorscheme 檔案的放置要在使用者目錄下建立 vimfiles 目錄,再在其下建立 colors 目錄,然後將 colorscheme 檔案放入

沒有留言:

張貼留言