FrontPage > my_vimrc

設定ファイルの場所

その他

Windows GVim(カラースキーマの設定などはこちらに)

.vimrc のコピー

" ----- for gvim -----
set guioptions-=T

" ----- for linux -----
set nocompatible

set fileencodings=utf-8,euc-jp,cp932
set termencoding=utf-8

" set number
set cursorline
set showmatch
set laststatus=2
set nowrapscan
" set list
" set listchars=tab:^
set hlsearch
set incsearch

set hidden
set viminfo=
set noundofile
set nobackup
set noswapfile

set t_Co=256
set clipboard=unnamedplus
hi Search term=reverse cterm=reverse ctermfg=7 ctermbg=0

" colorscheme Tomorrow-Night-Eighties
syntax on

" ----- tab -----
nnoremap gc :<C-u>tabnew<CR>

" ----- gtags -----
" grep
"nnoremap <C-g> :Gtags -g
" list
"nnoremap <C-l> :Gtags -f %<CR>
" jump to definition
nnoremap <C-j> :Gtags <C-r><C-w><CR>
" jump to caller
nnoremap <C-h> :Gtags -r <C-r><C-w><CR>
" jump to symbol
nnoremap <C-l> :Gtags -s <C-r><C-w><CR>
" next
nnoremap <C-n> :cn<CR>
" previous
nnoremap <C-p> :cp<CR>

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2019-02-28 (木) 10:20:15