diff options
author | Julian T <julian@jtle.dk> | 2020-05-09 17:56:50 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-05-09 17:56:50 +0200 |
commit | 75f74a63f19c5b5a71dbb3e1b99b97d3067095fb (patch) | |
tree | 50f1c3300204fe35d2ebdc93824c4d1f7974ff97 /vim | |
parent | 6ebe4c2601e66d97888ba57b60a9f8aa249200ba (diff) |
Vim, i3 configs, And removed xcape
Diffstat (limited to 'vim')
-rw-r--r-- | vim/.vimrc | 26 |
1 files changed, 17 insertions, 9 deletions
@@ -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 |