summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.stalonetrayrc2
-rw-r--r--.vimrc10
2 files changed, 8 insertions, 4 deletions
diff --git a/.stalonetrayrc b/.stalonetrayrc
index 51c0427..1a41169 100644
--- a/.stalonetrayrc
+++ b/.stalonetrayrc
@@ -44,7 +44,7 @@ fuzzy_edges 0
# geometry <geometry> # tray's geometry in standard X notation
#geometry 140x64-50-14
-geometry 140x24+10+40
+geometry 140x24+10+100
# grow_gravity <gravity> # one of N, S, E, W, NW, NE, SW, SE; tray will grow
# in the direction opposite to one specified by
diff --git a/.vimrc b/.vimrc
index 81d40f5..16805fa 100644
--- a/.vimrc
+++ b/.vimrc
@@ -14,8 +14,8 @@ set fileformat=unix " force unix-style line breaks
set tabpagemax=30 " maximum number of tabs
" tabs and indenting
"set expandtab " insert spaces instead of tab chars
-set tabstop=4 " a n-space tab width
-set shiftwidth=4 " allows the use of < and > for VISUAL indenting
+set tabstop=8 " a n-space tab width
+set shiftwidth=8 " allows the use of < and > for VISUAL indenting
set softtabstop=0 " counts n spaces when DELETE or BCKSPCE is used
set fileencoding=utf-8
@@ -39,6 +39,7 @@ set laststatus=1 " occasions to show status line, 2=always.
set ruler " ruler display in status line
set showmode " show mode at bottom of screen
set showcmd " display some infos (in visual)
+
set number " show line numbers
set nobackup " disable backup files (filename~)
set showmatch " show matching brackets (),{},[]
@@ -80,4 +81,7 @@ vnoremap ; :
map M :%s/ $//g
" mutt rules
-au BufRead /tmp/mutt-* set tw=72 spell
+autocmd BufRead /tmp/mutt-* set tw=72 spell
+
+" disable line numbers when using vim als manpager
+autocmd FileType man set nonumber