vimrc
페이지 정보
작성자 조희승 댓글 0건 조회 8,366회 작성일 16-05-05 01:06본문
http://got-ravings.blogspot.com/2008/08/vim-pr0n-making-statuslines-that-own.html
----------------------------
" heesn
au FileType * setl fo-=cro
map ,h <ESC>*
map ,q <ESC>:q!<CR>
map ,w <ESC>:w!<CR>
map ,wq <ESC>:wq!<CR>
map <s-k> <c-w>k
map <s-j> <c-w>j
map <s-h> <c-w>h
map <s-l> <c-w>l
" heesn ctags
map <c-l> g<c-]>
"map <c-k> g<c-]>
map <c-k> <c-w>vg<c-]>
map <c-j> <ESC>:q!<CR>
map <c-h> <c-t>
" open a file with the previous position
au BufReadPost * if line("'\"")|execute("normal `\"")|endif
set laststatus=2
"set statusline=%t[%{strlen(&fenc)?&fenc:'none'},%{&ff}]%h%m%r%y%=%c,%l/%L\ %P
set statusline=%F\ [%{strlen(&fenc)?&fenc:'none'},%{&ff}]%h%m%r%=%l/%L\ %P
syntax on
"set cindent
"set smartindent
"set autoindent
set wrap
set ff=unix
set bg=dark
set ruler
set hlsearch
set ignorecase
"set nowrapscan
" Indent settings
set ts=4
set sw=4
set sts=4
set visualbell
"set expandtab
----------------------------
" heesn
au FileType * setl fo-=cro
map ,h <ESC>*
map ,q <ESC>:q!<CR>
map ,w <ESC>:w!<CR>
map ,wq <ESC>:wq!<CR>
map <s-k> <c-w>k
map <s-j> <c-w>j
map <s-h> <c-w>h
map <s-l> <c-w>l
" heesn ctags
map <c-l> g<c-]>
"map <c-k> g<c-]>
map <c-k> <c-w>vg<c-]>
map <c-j> <ESC>:q!<CR>
map <c-h> <c-t>
" open a file with the previous position
au BufReadPost * if line("'\"")|execute("normal `\"")|endif
set laststatus=2
"set statusline=%t[%{strlen(&fenc)?&fenc:'none'},%{&ff}]%h%m%r%y%=%c,%l/%L\ %P
set statusline=%F\ [%{strlen(&fenc)?&fenc:'none'},%{&ff}]%h%m%r%=%l/%L\ %P
syntax on
"set cindent
"set smartindent
"set autoindent
set wrap
set ff=unix
set bg=dark
set ruler
set hlsearch
set ignorecase
"set nowrapscan
" Indent settings
set ts=4
set sw=4
set sts=4
set visualbell
"set expandtab
댓글목록
등록된 댓글이 없습니다.