Fixed vim config after the merge
This commit is contained in:
parent
ae64dde6b1
commit
9b40cd0636
14 changed files with 10 additions and 63 deletions
18
.gitmodules
vendored
18
.gitmodules
vendored
|
@ -1,27 +1,27 @@
|
|||
[submodule "bundle/fugitive"]
|
||||
path = vim/bundle/fugitive
|
||||
path = vim/.vim/bundle/fugitive
|
||||
url = https://github.com/tpope/vim-fugitive.git
|
||||
[submodule "bundle/nerdtree"]
|
||||
path = vim/bundle/nerdtree
|
||||
path = vim/.vim/bundle/nerdtree
|
||||
url = https://github.com/scrooloose/nerdtree.git
|
||||
[submodule "bundle/airline"]
|
||||
path = vim/bundle/airline
|
||||
path = vim/.vim/bundle/airline
|
||||
url = https://github.com/vim-airline/vim-airline
|
||||
[submodule "bundle/vim-colorschemes"]
|
||||
path = vim/bundle/colorschemes
|
||||
path = vim/.vim/bundle/colorschemes
|
||||
url = https://github.com/flazz/vim-colorschemes
|
||||
[submodule "bundle/vim-scala"]
|
||||
path = vim/bundle/vim-scala
|
||||
path = vim/.vim/bundle/vim-scala
|
||||
url = https://github.com/derekwyatt/vim-scala
|
||||
[submodule "bundle/vimwiki"]
|
||||
path = vim/bundle/vimwiki
|
||||
path = vim/.vim/bundle/vimwiki
|
||||
url = https://github.com/vimwiki/vimwiki.git
|
||||
[submodule "bundle/vim-graphql"]
|
||||
path = vim/bundle/vim-graphql
|
||||
path = vim/.vim/bundle/vim-graphql
|
||||
url = https://github.com/jparise/vim-graphql
|
||||
[submodule "bundle/typescript-vim"]
|
||||
path = vim/bundle/typescript-vim
|
||||
path = vim/.vim/bundle/typescript-vim
|
||||
url = https://github.com/leafgarland/typescript-vim
|
||||
[submodule "bundle/vim-elixir"]
|
||||
path = vim/bundle/vim-elixir
|
||||
path = vim/.vim/bundle/vim-elixir
|
||||
url = https://github.com/elixir-lang/vim-elixir.git
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
stow -t ~ bash
|
||||
stow -t ~ screen
|
||||
stow -t ~ vim
|
||||
|
||||
#rm -f .screenrc
|
||||
#ln -s ~/Code/config/screenrc .screenrc
|
||||
|
|
54
vimrc
54
vimrc
|
@ -1,54 +0,0 @@
|
|||
|
||||
|
||||
filetype plugin indent on
|
||||
|
||||
" Tabbing
|
||||
function! SetupTabbing()
|
||||
set tabstop=2
|
||||
set expandtab
|
||||
set shiftwidth=2
|
||||
set softtabstop=2
|
||||
set sw=2
|
||||
set autoindent
|
||||
set smartindent
|
||||
set smarttab
|
||||
endfunction
|
||||
command! -bar SetupTabbing call SetupTabbing()
|
||||
SetupTabbing
|
||||
|
||||
" Window settings
|
||||
set winminwidth=20
|
||||
set winwidth=100
|
||||
set winheight=20
|
||||
|
||||
" Syntax highlighting
|
||||
syntax on
|
||||
|
||||
" Wrapping settings
|
||||
set nowrap " nowrap makes the lines not wrap
|
||||
" set wrap " wrap makes the lines wrap
|
||||
set linebreak
|
||||
|
||||
" keeps lines below the cursor
|
||||
set scrolloff=2
|
||||
|
||||
" makes LaTeX use spell checking, word wrapping
|
||||
autocmd FileType tex set wrap spell
|
||||
autocmd FileType make set noexpandtab
|
||||
autocmd FileType *gitconfig set noexpandtab
|
||||
autocmd FileType python SetupTabbing
|
||||
|
||||
" set term=xterm
|
||||
|
||||
let java_allow_cpp_keywords = 1
|
||||
|
||||
set ruler
|
||||
set number
|
||||
set backspace=indent,eol,start
|
||||
set hlsearch
|
||||
|
||||
augroup HiglightTODO
|
||||
autocmd!
|
||||
autocmd WinEnter,VimEnter * :silent! call matchadd('Todo', 'TODO', -1)
|
||||
augroup END
|
||||
|
Loading…
Reference in a new issue