-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.vim
53 lines (45 loc) · 1.27 KB
/
init.vim
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
" Area for plugins
call plug#begin('~/AppData/Local/nvim/plugins')
Plug 'altercation/vim-colors-solarized'
Plug 'morhetz/gruvbox'
Plug 'vim-airline/vim-airline'
Plug 'preservim/vim-markdown'
Plug 'kien/rainbow_parentheses.vim'
Plug 'spolu/dwm.vim'
call plug#end()
" inoremap jk <ESC> " remap the jk combo to what escape does
let mapleader = "'"
syntax on " highlight syntax
set number " show line numbers
set noswapfile " disable the swapfile
set hlsearch " highlight all results
set ignorecase " ignore case in search
set incsearch " show search results as you type
" Solarized colourscheme settings
" if !exists("g:syntax_on")
" syntax enable
" endif
" set background=dark
" let g:solarized_termcolors=256
" colorscheme solarized
" Solarized colourscheme settings
if !exists("g:syntax_on")
syntax enable
endif
set background=dark
let g:solarized_termcolors=256
colorscheme solarized
" Gruvbox colourscheme settings
" autocmd vimenter * ++nested colorscheme gruvbox
" vim-markdown settings
" let g:vim_markdown_folding_disabled = 1
let g:vim_markdown_folding_level = 6
" Python indentation settings
au BufNewFile, BufRead *.py
\ set tabstop=4
\ set softtabstop=4
\ set shiftwidth=4
\ set textwidth=79
\ set expandtab
\ set autoindent
\ set fileformat=unix