-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
62 lines (44 loc) · 1.17 KB
/
.vimrc
File metadata and controls
62 lines (44 loc) · 1.17 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
" Honski Desgin Vimrc
" ----------------------------- General Settings ----------------------
set nocompatible
set novisualbell
" activate line numbers
set number
" show commands and insert mode in status bar
set showcmd
" set spaces and tabs
set tabstop=2
set shiftwidth=2
set expandtab
set smartindent
set smarttab
" enable syntax highlighting
syntax enable
" enough for line numbers + gutter within 80 standard
"set textwidth=72
" faster scrolling
set ttyfast
" better command-line completion
set wildmenu
" turn on cursor line
set cursorline
" --------------------------- Plugins ---------------------------------
" plugin options
colorscheme onedark
set t_Co=256
let g:python_highlight_all=1
" plugin manager
call plug#begin('~/.vim/plugged')
Plug 'sheerun/vim-polyglot'
Plug 'vim-python/python-syntax'
"Plug 'gabrielelana/vim-markdown'
call plug#end()
" disable arrow keys (vi muscle memory)
noremap <up> :echoerr "Umm, use k instead"<CR>
noremap <down> :echoerr "Umm, use j instead"<CR>
noremap <left> :echoerr "Umm, use h instead"<CR>
noremap <right> :echoerr "Umm, use l instead"<CR>
inoremap <up> <NOP>
inoremap <down> <NOP>
inoremap <left> <NOP>
inoremap <right> <NOP>