Created
September 13, 2017 07:00
-
-
Save songyunlu/8691ecf9c2d51abb23597fe8ed7b5466 to your computer and use it in GitHub Desktop.
My .vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set background=dark | |
syntax on | |
set ruler | |
set nu | |
set t_Co=256 | |
filetype plugin indent on | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set paste | |
set backspace=indent,eol,start | |
let g:molokai_original = 1 | |
let g:rehash256 = 1 | |
let g:goyo_width = 100 | |
let g:vim_markdown_folding_disabled = 1 | |
let macvim_skip_colorscheme=1 | |
colorscheme molokai | |
if exists('$TMUX') | |
let &t_SI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=1\x7\<Esc>\\" | |
let &t_EI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=0\x7\<Esc>\\" | |
else | |
let &t_SI = "\<Esc>]50;CursorShape=1\x7" | |
let &t_EI = "\<Esc>]50;CursorShape=0\x7" | |
endif | |
call plug#begin('~/.vim/plugged') | |
Plug 'junegunn/goyo.vim' | |
Plug 'godlygeek/tabular' | |
Plug 'plasticboy/vim-markdown' | |
Plug 'scrooloose/nerdtree' | |
Plug 'dracula/vim' | |
call plug#end() | |
map <F12> :Goyo | |
map <C-n> :NERDTreeToggle<CR> | |
xnoremap p pgvy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment