summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-05-09 17:56:50 +0200
committerJulian T <julian@jtle.dk>2020-05-09 17:56:50 +0200
commit75f74a63f19c5b5a71dbb3e1b99b97d3067095fb (patch)
tree50f1c3300204fe35d2ebdc93824c4d1f7974ff97 /vim
parent6ebe4c2601e66d97888ba57b60a9f8aa249200ba (diff)
Vim, i3 configs, And removed xcape
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc26
1 files changed, 17 insertions, 9 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 2cead46..304e36f 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -23,9 +23,12 @@ set shellslash
Plugin 'tpope/vim-surround'
Plugin 'tpope/vim-repeat'
Plugin 'tpope/vim-unimpaired'
+ Plugin 'tpope/vim-commentary'
+
+ Plugin 'godlygeek/tabular'
" Editor config
- Plugin 'editorconfig/editorconfig-vim'
+ " Plugin 'editorconfig/editorconfig-vim'
" Color theme
" Plugin 'agude/vim-eldar'
@@ -35,10 +38,6 @@ set shellslash
Plugin 'morhetz/gruvbox'
" Plugin 'ntk148v/vim-horizon'
- " File management
- " Plugin 'scrooloose/nerdtree'
- " Plugin 'tpope/vim-vinegar'
-
" Git
" Plugin 'jreybert/vimagit'
Plugin 'tpope/vim-fugitive'
@@ -51,7 +50,7 @@ set shellslash
" Plugin 'rust-lang/rust.vim'
" Plugin 'racer-rust/vim-racer'
- Plugin 'vimwiki/vimwiki'
+ " Plugin 'vimwiki/vimwiki'
" Snippets are separated from the engine. Add this if you want them:
@@ -118,11 +117,18 @@ set shellslash
set number
set relativenumber
+ " More sensible splitting
+ set splitbelow splitright
+
set tabstop=4
- set shiftwidth=4
set softtabstop=4
- set noexpandtab
- set colorcolumn=80
+ set shiftwidth=4
+ set expandtab
+ set colorcolumn=79
+
+ " Show 5 lines above and below cursor
+ set scrolloff=5
+ set list
" Remove statusline
set laststatus=1
@@ -143,6 +149,8 @@ set shellslash
" Persistent undo
set undofile
+ set autoread
+
" Exit insert mode on inactivity
" au CursorHoldI * stopinsert