-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
35 lines (30 loc) · 646 Bytes
/
vimrc
File metadata and controls
35 lines (30 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
:syntax on
:filetype plugin on
:set wrap
:set tabstop=2
:set shiftwidth=2
:set softtabstop=2
:set smarttab
:set ic
:set is
:set hls
:set autowrite
:set autoindent
:set textwidth=0
":set paste
:set bk
:set writebackup
:set bdir=~/txt/vim-backup
:set statusline=%<%f%h%m%r%=%l,%c%V\ %P
:set laststatus=2
:set backspace=2
:set iskeyword+=-
:set expandtab
":set guifontg<F2>=Fantasque\ Sans\ Mono\ 16
:set guifont=Hack\ 14
:command! W write
:command! Wq wq
:map <F2> :w<CR>
" https://github.com/tpope/vim-markdown
autocmd BufNewFile,BufReadPost *.md set filetype=markdown
let g:markdown_fenced_languages = ['html', 'python', 'bash=sh', 'ruby']