aboutsummaryrefslogtreecommitdiffstats
path: root/configs/shared/.vimrc
diff options
context:
space:
mode:
authorEugene Triguba <eugene@desktop.midcoip.net>2022-05-08 09:34:19 -0500
committerEugene Triguba <eugene@desktop.midcoip.net>2022-05-08 09:34:19 -0500
commit53205809e426d06eee009f4415798c9dd068807c (patch)
treec1a3055c0a0adc23ea0d01cd5fbc7d4307e080ba /configs/shared/.vimrc
downloaddotfiles-53205809e426d06eee009f4415798c9dd068807c.zip
Initial Commit
Diffstat (limited to 'configs/shared/.vimrc')
-rw-r--r--configs/shared/.vimrc52
1 files changed, 52 insertions, 0 deletions
diff --git a/configs/shared/.vimrc b/configs/shared/.vimrc
new file mode 100644
index 0000000..3e05ded
--- /dev/null
+++ b/configs/shared/.vimrc
@@ -0,0 +1,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()