blob: ddca1218c5dfa1be1d89f8e0d254cc9b420df247 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
" Use system clipboard
set clipboard+=unnamedplus
" Case-insensitive search
set ignorecase
" Keep long lines unwrapped
set nowrap
" Use spaces instead of tabs
set expandtab
" Display a tab character as four spaces
set tabstop=4
" Indent using four spaces
set shiftwidth=4
" Customize the prefix key
let mapleader = ","
" Clear search highlighting with double Esc
nnoremap <Esc><Esc> :nohlsearch<CR>
"
" Netrw: the built-in file explorer
"
" Hide the banner
let g:netrw_banner = 0
" The size of the Netrw window in percentage when it splits
let g:netrw_winsize = 30
" Toggle the file explorer
map <Leader><Leader> :Lexplore<CR>
|