From 9bcd686901fbb384cef30fa0c4b229ca7fca9a27 Mon Sep 17 00:00:00 2001 From: johannst <*> Date: Sat, 17 Sep 2016 14:45:43 +0200 Subject: Changed tab settings in vim --- .Xresources_gray | 1 + .vim/vimrc_files/plugin_config.vim | 2 +- .vimrc | 15 +++++---------- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.Xresources_gray b/.Xresources_gray index 54eb7b8..5aec693 100644 --- a/.Xresources_gray +++ b/.Xresources_gray @@ -13,6 +13,7 @@ xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48 xterm*termName: xterm-256color xterm*eightBitInput: false XTerm*selectToClipboard: true +XTerm*visualBell: false ! --- ~/.Xresources ------------------------------------------------------------ ! ------------------------------------------------------------------------------ diff --git a/.vim/vimrc_files/plugin_config.vim b/.vim/vimrc_files/plugin_config.vim index d4c0848..ab778ab 100644 --- a/.vim/vimrc_files/plugin_config.vim +++ b/.vim/vimrc_files/plugin_config.vim @@ -21,7 +21,7 @@ endif " +----------------------------+ " | Tagbar | " +----------------------------+ -let g:tagbar_ctags_bin='/u/jstolp/apps/bin/ctags' +let g:tagbar_ctags_bin='/u/jstolp/bin/ctags' "let g:tagbar_ctags_bin='/home/johannst/apps/bin/ctags' diff --git a/.vimrc b/.vimrc index c1e6515..b79037f 100644 --- a/.vimrc +++ b/.vimrc @@ -3,11 +3,6 @@ set nocompatible " make Vim less Vi - - - - - source ~/.vim/vimrc_files/vundle.vim source ~/.vim/vimrc_files/plugin_config.vim @@ -26,7 +21,7 @@ colorscheme buddy " | Basic Settings | " +----------------------------+ set timeoutlen=1234 " time in ms until keymap interpreted -set ttimeoutlen=1 " time in ms for key code delay, NEVER USE 0 again!!! +set ttimeoutlen=100 " time in ms for key code delay, NEVER USE 0 again!!! filetype plugin indent on " enable loading indent file for filetype set ffs=unix,dos,mac " Try recognizing dos, unix, and mac line endings. @@ -43,10 +38,10 @@ set encoding=utf-8 " Set default encoding to UTF-8. set history=1000 " Sets how many lines of history VIM has to remember set tabpagemax=100 " Sets how many tabs will be opened set scrolloff=2 " set vertical scroll distance to 7 lines -set tabstop=4 " set Tab-length +set tabstop=8 " set Tab-length set expandtab " expand tabs to spaces -set shiftwidth=4 " but an indent level is 2 spaces wide. -set softtabstop=4 " over an autoindent deletes both spaces. +set shiftwidth=3 " but an indent level is 2 spaces wide. +set softtabstop=3 " over an autoindent deletes both spaces. set shiftround " rounds indent to a multiple of shiftwidth set backspace=2 autocmd BufNewFile,BufRead * setlocal formatoptions=ql " disable auto-comment @@ -60,7 +55,7 @@ set noautowriteall " NEVER. set noautoread " Don't automatically re-read changed files. set shortmess+=a " Use [+]/[RO]/[w] for modified/readonly/written. -set smarttab " Handle tabs more intelligently +"set smarttab " Handle tabs more intelligently set smartcase " Do smart case matching set autoindent " Copy indent from current line when starting a new line set smartindent " use smart indent if there is no indent file -- cgit v1.2.3