"The file is automatically updated when it is modified externally.
Set autoread
"Highlight the current row
Set cursorline
Hi cursorline guibg = #222222
Hi cursorcolumn guibg = #333333
"Enable fold
Set nofen
Set FDL = 0
"Set the tab key to 4 spaces.
Set tabstop = 4
Set smarttab
"Do not interrupt the line in words
Set LBR
"Auto indent
Set AI
"Smart indent
Set Si
"Wrap lines
Set wrap
"Turn on wild menu
Set wildmenu
"Display ruler
Set ruler
"Display number of rows
Set nu
"Display matching parentheses ([{And}])
Set showmatch
"Highlight the search content
Set hlsearch
"Enable Status Bar
Set laststatus = 2
"Display functions of the current directory
Function! Curdir ()
Let curdir = substitute (getcwd (), '/users/Amir /',"~ /"," G ")
Return curdir
Endfunction
"Set status bar Information
Set statusline =/% F % m % R % H/% W // CWD:/% R % {curdir ()} % H // line: /% L: % C
"If the taglist window is the last window, exit Vim
Let tlist_exit_onlywindow = 1
"Set the taglist shortcut to F9
Map <F9>: tlisttoggle <CR>