aboutsummaryrefslogtreecommitdiffstats
path: root/configs/shared/.vimrc
blob: 3e05ded3a573c9f4870a3b949de0c25c59237233 (plain) (blame)
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
" Syntax highlighting
colorscheme pablo
syntax on

" Flash screen instead of beep sound
set visualbell

" Change how vim represents characters on the screen
set encoding=utf-8

" Set the encoding of files written
set fileencoding=utf-8

" Set line numbers
set number

" don't break up words at end of window width
set linebreak

" Specify different areas of the screen where splits should occur
set splitbelow
set splitright

" Python-specific whitespace file settings
autocmd Filetype python setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4
" ts - show existing tab with 4 spaces width
" sw - when indenting with '>', use 4 spaces width
" sts - control <tab> and <bs> keys to match tabstop

" General whitespace settings
set shiftwidth=4
filetype plugin indent on

" Allow backspace to delete indentation and inserted text
" i.e. how it works in most programs
set backspace=indent,eol,start
" indent  allow backspacing over autoindent
" eol     allow backspacing over line breaks (join lines)
" start   allow backspacing over the start of insert; CTRL-W and CTRL-U
"         stop once at the start of insert.

call plug#begin("$HOME/.config/nvim/plugged")

Plug 'Valloric/YouCompleteMe'
Plug 'junegunn/fzf'

Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-fugitive'

Plug 'editorconfig/editorconfig-vim'

call plug#end()