aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorMiquel Sabaté <mikisabate@gmail.com>2014-01-03 09:08:11 +0100
committerMiquel Sabaté <mikisabate@gmail.com>2014-01-03 09:08:11 +0100
commit88dc8f62a61dab086c662c4966d2490a6590ba32 (patch)
treed61919a1be402f7f0e967ff88da9ca430048e91e /vimrc
parent8e5f4f60e8e9948a1e6267cdb75d2da63d2daff1 (diff)
downloaddotfiles-88dc8f62a61dab086c662c4966d2490a6590ba32.tar.gz
dotfiles-88dc8f62a61dab086c662c4966d2490a6590ba32.zip
vimrc: show a proper cursor shape for Konsole.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc9
1 files changed, 9 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index d0afa54..db77981 100644
--- a/vimrc
+++ b/vimrc
@@ -42,6 +42,15 @@ set background=dark
colorscheme xoria256
""
+" Setup the cursor for Konsole.
+" NOTE: change this if you're not using Konsole or a program that makes use
+" of the Konsole part. See
+" http://vim.wikia.com/wiki/Change_cursor_shape_in_different_modes
+
+let &t_SI = "\<Esc>]50;CursorShape=1\x7"
+let &t_EI = "\<Esc>]50;CursorShape=0\x7"
+
+""
" Status line
" Returns the mode we are currently.