Skip to content

Instantly share code, notes, and snippets.

@novemberde
Created January 28, 2020 16:26
Show Gist options
  • Save novemberde/208ff6568bb7fd1330f55b86a9356903 to your computer and use it in GitHub Desktop.
Save novemberde/208ff6568bb7fd1330f55b86a9356903 to your computer and use it in GitHub Desktop.
novemberde's .vimrc
set number
set ai
set history=100
set title
set nu
set cindent
set ts=4
set shiftwidth=4
" Syntax Highlighting
if has("syntax")
syntax on
endif
" 마지막으로 수정된 곳에 커서를 위치함
au BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "norm g`\"" |
\ endif
set laststatus=2 " 상태바 표시를 항상한다
set statusline=\ %<%l:%v\ [%P]%=%a\ %h%m%r\ %F\
set nocompatible " be iMproved, required
filetype on " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'rust-lang/rust.vim'
Plugin 'fatih/vim-go'
call vundle#end() " required
" The-NERD-Tree
autocmd BufEnter * lcd %:p:h
autocmd VimEnter * if !argc() | NERDTree | endif
nmap <leader>ne :NERDTree<cr>
" let NERDTreeShowLineNumbers=1
" let g:NERDTreeWinPos = "right"
" ESC mapping
inoremap jj <Esc>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment