summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2021-04-26 20:42:23 +0200
committerTobias Klauser <tklauser@distanz.ch>2021-04-26 20:42:23 +0200
commitba62a2012ad2b5862cc8357939829e123b998688 (patch)
treea3c7cd99320fe94150783799dd0eb570c34f7853
parent75e98f8092cfb62e038f8635c4a3c2b6ca7fec62 (diff)
Enable cursorline, highlight search results
-rw-r--r--.vimrc8
1 files changed, 3 insertions, 5 deletions
diff --git a/.vimrc b/.vimrc
index 1abacc2..d5db8ff 100644
--- a/.vimrc
+++ b/.vimrc
@@ -4,9 +4,8 @@ set noerrorbells " No annoying bells
set vb t_vb=
set hidden " allow buffer switching without saving
-" Don't highlight search results
-" set nohlsearch
-
+" Highlight search results
+set hlsearch
" Type-ahead find
set incsearch
@@ -37,7 +36,7 @@ set undolevels=50
set laststatus=2 " Always show the statusline
set ruler " Display ruler with cursor positions
-"set cursorline " Highlight the cursor line and column
+set cursorline " Highlight the cursor line and column
" Buffer, filename, line, total lines, column, ASCII value
"set statusline=[%n]\ %f\ %m\ %l/%L,%c\ ASCII:\ %3b
@@ -106,7 +105,6 @@ map! <C-x>y Copyright (C) <C-R>=strftime("%Y")<CR> <C-r>=$GIT_AUTHOR_NAME<CR> <<
map <C-x>c i<C-R>=strftime("%F %R")<CR> Tobias Klauser <tklauser@distanz.ch><CR><TAB>* <ESC>
map! <C-x>c <C-R>=strftime("%F %R")<CR> Tobias Klauser <tklauser@distanz.ch><CR><TAB>*
-
map <C-x>f ^iFrom: Tobias Klauser <tklauser@distanz.ch><CR><ESC>^
map! <C-x>f From: Tobias Klauser <tklauser@distanz.ch><CR>