Created
December 15, 2024 13:47
-
-
Save orbanbotond/5486c988ab5f374a14b86f204dbd82c0 to your computer and use it in GitHub Desktop.
.vimrc
This file contains hidden or 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
set nocompatible | |
if has("autocmd") | |
filetype indent plugin on | |
" Enable filetype detection | |
filetype plugin indent on | |
" Restore cursor position | |
autocmd BufReadPost * | |
\ if line("'\"") > 1 && line("'\"") <= line("$") | | |
\ exe "normal! g`\"" | | |
\ endif | |
endif | |
if &t_Co > 2 || has("gui_running") | |
" Enable syntax highlighting | |
syntax on | |
endif | |
runtime macros/matchit.vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment