Last active
October 25, 2024 03:10
-
-
Save SiqingYu/5767d589239b8b1bd6925f5504ff8bf1 to your computer and use it in GitHub Desktop.
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
" Turn on line numbering | |
set number | |
" This will set your path variable to current directory (from which you launched vim) and to all directories under current directory recursively. | |
set path=$PWD/** | |
" Highlight all search pattern matches | |
set hlsearch | |
" control the number of space characters that will be inserted when the tab key is pressed (default 8) | |
set tabstop=4 | |
" number of space characters inserted for indentation | |
set shiftwidth=4 | |
" insert space characters whenever the tab key is pressed | |
set expandtab | |
" always show the status line | |
set laststatus=2 | |
" Add full file path to statusline | |
set statusline+=%F | |
" Ctrl+Arrow for scrolling | |
nnoremap <C-Up> <C-U> | |
nnoremap <C-Down> <C-D> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment