summaryrefslogtreecommitdiff
path: root/.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.vimrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index b0b79ee..8a8e7ae 100644
--- a/.vimrc
+++ b/.vimrc
@@ -19,6 +19,7 @@ set expandtab
set guifont=Inconsolata\ Medium\ 11,Monospace\ 11
set spelllang=de_20
set guioptions-=T
+set mouse=a
if has("gui_running") " nice cursorline in the gui
set cursorline
@@ -30,6 +31,10 @@ let mapleader = ","
let maplocalleader = "\\"
let &guicursor = &guicursor . ",a:blinkon0"
+" disable backups
+set nobackup
+set nowritebackup
+
" statusline
set laststatus=2 " always show line
@@ -99,7 +104,7 @@ nmap <Leader>t :ToggleWord<CR>
map Y y$
" emulate C-k as known from emacs/zsh/...
-imap <C-k> D
+imap <C-k> <C-o>D
" =======================================================
" PLUGINS AND LANGUAGES