QOL vimrc changes
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
+ [Python](https://github.com/palantir/python-language-server)
|
||||
+ [Rust](https://github.com/rust-analyzer/rust-analyzer)
|
||||
+ [TeX](https://github.com/latex-lsp/texlab)
|
||||
+ [Java](https://github.com/neovim/nvim-lspconfig#jdtls)
|
||||
+ [Java](https://github.com/mfussenegger/nvim-jdtls)
|
||||
|
||||
## Fonts
|
||||
+ Fira Code Regular Nerd Font Complete Mono: Terminal
|
||||
|
||||
@@ -121,13 +121,13 @@ label-underline = ${colors.accent}
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
label = %date% %time%
|
||||
label = %date% - %time%
|
||||
|
||||
date = %a %d %b
|
||||
date = %a %d %B
|
||||
time = %H:%M
|
||||
|
||||
format-prefix = " "
|
||||
#format-underline = ${colors.red}
|
||||
format-overline = ${colors.green}
|
||||
|
||||
[module/backlight]
|
||||
type = internal/backlight
|
||||
|
||||
21
files/.vimrc
21
files/.vimrc
@@ -99,15 +99,14 @@ let g:lightline.tabline = {'left': [['buffers']]}
|
||||
let g:lightline#bufferline#show_number = 0
|
||||
let g:lightline#bufferline#shorten_path = 0
|
||||
let g:lightline#bufferline#unnamed = '[No Name]'
|
||||
let g:lightline#bufferline#auto_hide = 0
|
||||
let g:lightline#bufferline#enable_devicons = 0
|
||||
let g:lightline#bufferline#enable_devicons = 1
|
||||
let g:lightline.component_expand = {'buffers': 'lightline#bufferline#buffers'}
|
||||
let g:lightline.component_type = {'buffers': 'tabsel'}
|
||||
|
||||
" ============================== Indents and Whitespaces
|
||||
set list
|
||||
set listchars=tab:»\ ,extends:›,precedes:‹,nbsp:·,trail:·
|
||||
set fillchars+=vert:\ "draw verticle split
|
||||
set listchars=tab:──\ ,extends:›,precedes:‹,nbsp:·,trail:·
|
||||
set fillchars+=vert:\ "don't draw verticle split
|
||||
|
||||
autocmd FileType perl set tabstop=8 shiftwidth=4 softtabstop=4
|
||||
|
||||
@@ -137,8 +136,12 @@ cmap W w
|
||||
cmap q1 q!
|
||||
|
||||
" fzf
|
||||
nmap <leader>ff :Files<CR>
|
||||
nmap <leader>ft :enew<CR>:Files<CR>
|
||||
if has ("nvim")
|
||||
nmap <leader>ff :Files<CR>
|
||||
nmap <leader>ft :enew<CR>:Files<CR>
|
||||
else
|
||||
nmap <leader>ft :enew<CR>
|
||||
end
|
||||
|
||||
" buffer > tabs
|
||||
nmap <leader>j :bprev<CR>
|
||||
@@ -150,8 +153,12 @@ nmap <leader>v :Vista finder fzf:vim_lsp<CR>
|
||||
|
||||
" ============================== Cool NeoVim Shit
|
||||
if has ("nvim")
|
||||
" setup lsp configs
|
||||
" - Startup LSP Servers
|
||||
" - Set bindings: gr, gd, K, sd
|
||||
lua require'marc.lsp'
|
||||
|
||||
|
||||
" - Configure completion engine
|
||||
" - Set bindings: <C-k>, <C-n>, <C-p>
|
||||
lua require'marc.completion'
|
||||
endif
|
||||
|
||||
@@ -60,6 +60,9 @@ fi
|
||||
alias updoot="yay -Syu"
|
||||
alias dhl="yay"
|
||||
|
||||
alias sa="ssh-add"
|
||||
alias sag="ssh-add ~/.ssh/github"
|
||||
|
||||
alias s="cd ~/scripts/"
|
||||
alias c='clear'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user