-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
89 lines (72 loc) · 1.73 KB
/
.vimrc
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
" DO NOT EDIT THIS FILE
" Add your own customizations in ~/.vim_runtime/my_configs.vim
" set nocompatible
set relativenumber number
syntax on
set ignorecase
"
call plug#begin()
"
" Language Related
Plug 'fatih/vim-go'
set termguicolors
" Plug 'airblade/vim-gitgutter'
" colorscheme
"Plug 'morhetz/gruvbox'
"Plug 'nordtheme/vim'
"Plug 'kepano/flexoki-neovim'
Plug 'chriskempson/base16-vim'
" List your plugins here
Plug 'tpope/vim-sensible'
Plug 'prabirshrestha/vim-lsp'
Plug 'mattn/vim-lsp-settings'
" Quality of Life plugins
Plug 'junegunn/fzf.vim'
" Interfaces
" Plug 'catppuccin/vim', { 'as': 'catppuccin' }
"Plug 'vim-airline/vim-airline'
" Plug 'vim-airline/vim-airline-themes'
" let g:airline_theme='transparent'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
" Plug 'romgrk/doom-one.vim'
call plug#end()
"
" " shortcut
" " Set leader key to space
" let mapleader = " "
set softtabstop=0 noexpandtab
set list
set showbreak=↪
set listchars=tab:→\ ,eol:↲,nbsp:␣,trail:•,extends:⟩,precedes:⟨
set background=dark
" colorscheme nord
" colorscheme base16-black-metal
" colorscheme base16-grayscale-dark
let s:hidden_all = 0
function! ToggleHiddenAll()
if s:hidden_all == 0
let s:hidden_all = 1
set noshowmode
set noruler
set laststatus=0
set noshowcmd
set nonumber norelativenumber
else
let s:hidden_all = 0
set showmode
set ruler
set laststatus=2
set showcmd
set number relativenumber
endif
endfunction
noremap <Left> <NOP>
noremap <Right> <NOP>
noremap <Up> <NOP>
noremap <Down> <NOP>
inoremap <Left> <NOP>
inoremap <Right> <NOP>
inoremap <Up> <NOP>
inoremap <Down> <NOP>
nnoremap <S-h> :call ToggleHiddenAll()<CR>