Updated vimrc
This commit is contained in:
27
.vimrc
27
.vimrc
@@ -1,12 +1,21 @@
|
|||||||
set noswapfile
|
" Use 2-space indentation
|
||||||
|
set tabstop=2 " Number of spaces a <Tab> counts for
|
||||||
set expandtab
|
set shiftwidth=2 " Number of spaces used for autoindent
|
||||||
set smarttab
|
set expandtab " Convert <Tab> keypresses into spaces
|
||||||
set tabstop=2
|
set autoindent " Enable auto-indentation
|
||||||
set shiftwidth=2
|
set smartindent " Smarter indentation for code
|
||||||
set softtabstop=0
|
|
||||||
|
|
||||||
|
" Enable mouse support
|
||||||
set mouse=a
|
set mouse=a
|
||||||
set number
|
|
||||||
|
|
||||||
syntax on
|
" Show line numbers
|
||||||
|
set number
|
||||||
|
"set relativenumber " (Optional) show relative line numbers; remove if not wanted
|
||||||
|
set hls
|
||||||
|
|
||||||
|
" Recommended extras
|
||||||
|
set nowrap " Don't wrap long lines
|
||||||
|
set clipboard=unnamedplus " Use system clipboard
|
||||||
|
|
||||||
|
" Show non-printing and whitespace characters
|
||||||
|
set listchars=tab:▸\ ,space:·,extends:»,precedes:«,nbsp:␣,eol:¬
|
||||||
|
|||||||
Reference in New Issue
Block a user