Last active
November 4, 2021 21:50
-
-
Save aktentasche/05215522b27d6cc61d1f51291ff34c7b to your computer and use it in GitHub Desktop.
my vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo " | |
\" Enable type file detection. Vim will be able to try to detect the type of file in use. | |
filetype on | |
\" Enable plugins and load plugin for the detected file type. | |
filetype plugin on | |
\" Load an indent file for the detected file type. | |
filetype indent on | |
\" Turn syntax highlighting on. | |
syntax on | |
\" Highlight cursor line underneath the cursor horizontally. | |
set cursorline | |
\" Highlight cursor line underneath the cursor vertically. | |
set cursorcolumn | |
set number | |
augroup numbertoggle | |
autocmd! | |
autocmd BufEnter,FocusGained,InsertLeave,WinEnter * if &nu && mode() != \"i\" | set rnu | endif | |
autocmd BufLeave,FocusLost,InsertEnter,WinLeave * if &nu | set nornu | endif | |
augroup END | |
" > ~/.aktentasche_vimrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment