QOL vimrc changes

This commit is contained in:
Marco Thomas
2021-03-01 17:23:31 +01:00
parent 24dd9af14c
commit a20bbb0dbc
4 changed files with 23 additions and 13 deletions

View File

@@ -39,7 +39,7 @@
+ [Python](https://github.com/palantir/python-language-server) + [Python](https://github.com/palantir/python-language-server)
+ [Rust](https://github.com/rust-analyzer/rust-analyzer) + [Rust](https://github.com/rust-analyzer/rust-analyzer)
+ [TeX](https://github.com/latex-lsp/texlab) + [TeX](https://github.com/latex-lsp/texlab)
+ [Java](https://github.com/neovim/nvim-lspconfig#jdtls) + [Java](https://github.com/mfussenegger/nvim-jdtls)
## Fonts ## Fonts
+ Fira Code Regular Nerd Font Complete Mono: Terminal + Fira Code Regular Nerd Font Complete Mono: Terminal

View File

@@ -121,13 +121,13 @@ label-underline = ${colors.accent}
[module/date] [module/date]
type = internal/date type = internal/date
label = %date% %time% label = %date% - %time%
date = %a %d %b date = %a %d %B
time = %H:%M time = %H:%M
format-prefix = "󰃭 " format-prefix = "󰃭 "
#format-underline = ${colors.red} format-overline = ${colors.green}
[module/backlight] [module/backlight]
type = internal/backlight type = internal/backlight

View File

@@ -99,15 +99,14 @@ let g:lightline.tabline = {'left': [['buffers']]}
let g:lightline#bufferline#show_number = 0 let g:lightline#bufferline#show_number = 0
let g:lightline#bufferline#shorten_path = 0 let g:lightline#bufferline#shorten_path = 0
let g:lightline#bufferline#unnamed = '[No Name]' let g:lightline#bufferline#unnamed = '[No Name]'
let g:lightline#bufferline#auto_hide = 0 let g:lightline#bufferline#enable_devicons = 1
let g:lightline#bufferline#enable_devicons = 0
let g:lightline.component_expand = {'buffers': 'lightline#bufferline#buffers'} let g:lightline.component_expand = {'buffers': 'lightline#bufferline#buffers'}
let g:lightline.component_type = {'buffers': 'tabsel'} let g:lightline.component_type = {'buffers': 'tabsel'}
" ============================== Indents and Whitespaces " ============================== Indents and Whitespaces
set list set list
set listchars=tab:»\ ,extends:,precedes:,nbsp,trail set listchars=tab:──\ ,extends:,precedes:,nbsp,trail
set fillchars+=vert:\ "draw verticle split set fillchars+=vert:\ "don't draw verticle split
autocmd FileType perl set tabstop=8 shiftwidth=4 softtabstop=4 autocmd FileType perl set tabstop=8 shiftwidth=4 softtabstop=4
@@ -137,8 +136,12 @@ cmap W w
cmap q1 q! cmap q1 q!
" fzf " fzf
nmap <leader>ff :Files<CR> if has ("nvim")
nmap <leader>ft :enew<CR>:Files<CR> nmap <leader>ff :Files<CR>
nmap <leader>ft :enew<CR>:Files<CR>
else
nmap <leader>ft :enew<CR>
end
" buffer > tabs " buffer > tabs
nmap <leader>j :bprev<CR> nmap <leader>j :bprev<CR>
@@ -150,8 +153,12 @@ nmap <leader>v :Vista finder fzf:vim_lsp<CR>
" ============================== Cool NeoVim Shit " ============================== Cool NeoVim Shit
if has ("nvim") if has ("nvim")
" setup lsp configs " - Startup LSP Servers
lua require'marc.lsp' " - Set bindings: gr, gd, K, sd
lua require'marc.lsp'
lua require'marc.completion'
" - Configure completion engine
" - Set bindings: <C-k>, <C-n>, <C-p>
lua require'marc.completion'
endif endif

View File

@@ -60,6 +60,9 @@ fi
alias updoot="yay -Syu" alias updoot="yay -Syu"
alias dhl="yay" alias dhl="yay"
alias sa="ssh-add"
alias sag="ssh-add ~/.ssh/github"
alias s="cd ~/scripts/" alias s="cd ~/scripts/"
alias c='clear' alias c='clear'