summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2009-10-21 16:32:41 +0200
committerStefan Ritter <xeno@thehappy.de>2009-10-21 16:32:41 +0200
commitb287230a23b0b6ed1f9457ef478d9ec003feaa2d (patch)
tree9dfda5febfa9a69b06297db64ce572c5a511da87
parentee14f6d0b28afbe5d61ca60e081824d6c4cb0341 (diff)
Several things:
* Added some emacs config * Vim again for git commits * Added cursorline to vimrc
-rw-r--r--emacs7
-rw-r--r--gitconfig2
-rw-r--r--vim/vimrc1
3 files changed, 8 insertions, 2 deletions
diff --git a/emacs b/emacs
index f49670f..4b305e0 100644
--- a/emacs
+++ b/emacs
@@ -3,5 +3,10 @@
(global-linum-mode)
(setq linum-format "%d ")
-;; no backups
+;; no backup and autosave files
(setq make-backup-files nil)
+(setq backup-inhibited t)
+
+;; hilight actual line
+(global-hl-line-mode 1)
+(set-face-background 'hl-line "#333") \ No newline at end of file
diff --git a/gitconfig b/gitconfig
index 511dc9f..8aed15c 100644
--- a/gitconfig
+++ b/gitconfig
@@ -7,4 +7,4 @@
[colors]
ui = auto
[core]
- editor = emacs
+ editor = vim
diff --git a/vim/vimrc b/vim/vimrc
index 3504746..5b01cc1 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -10,6 +10,7 @@ set tabstop=8
set shiftround
set modeline
set nobackup
+set cursorline
map <f9> :make<CR>
map <f1> :execute 'NERDTreeToggle'<CR>