2022-06-21
This commit is contained in:
parent
e1e36e512c
commit
d7446af10a
@ -2,6 +2,9 @@ syntax enable
|
||||
let mapleader = " "
|
||||
|
||||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'robertmeta/nofrils'
|
||||
Plug 'vim-test/vim-test'
|
||||
Plug 'hashivim/vim-terraform'
|
||||
Plug 'Yggdroot/indentLine'
|
||||
Plug 'rmagatti/auto-session'
|
||||
Plug 'rmagatti/session-lens'
|
||||
@ -29,9 +32,10 @@ call plug#begin('~/.vim/plugged')
|
||||
Plug 'sickill/vim-monokai'
|
||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||
Plug 'flebel/vim-mypy', { 'for': 'python', 'branch': 'bugfix/fast_parser_is_default_and_only_parser' }
|
||||
Plug 'soywod/himalaya', {'rtp': 'vim'}
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'tpope/vim-rhubarb'
|
||||
Plug 'psf/black', { 'branch': 'stable' }
|
||||
Plug 'gf3/peg.vim'
|
||||
call plug#end()
|
||||
|
||||
lua << EOF
|
||||
@ -77,7 +81,7 @@ nnoremap <C-K> :bnext<CR>
|
||||
nnoremap <C-J> :bprev<CR>
|
||||
nmap <leader>bq :bp <BAR> bd #<CR>
|
||||
|
||||
"Clock
|
||||
" Airline
|
||||
let g:airline#extensions#clock#format = '%I:%M:%S %X'
|
||||
|
||||
" Find files using Telescope command-line sugar.
|
||||
@ -172,13 +176,19 @@ EOF
|
||||
set statusline+=%{gutentags#statusline()}
|
||||
|
||||
|
||||
" Himalaya Email
|
||||
let g:himalaya_mailbox_picker = 'telescope'
|
||||
|
||||
|
||||
" Indent Line
|
||||
let g:indentLine_char = '│'
|
||||
|
||||
|
||||
" GBrowse open current line
|
||||
nnoremap <leader>gb :.GBrowse<CR>
|
||||
|
||||
|
||||
" vim-test
|
||||
nmap <silent> <leader>t. :TestNearest<CR>
|
||||
nmap <silent> <leader>tf :TestFile<CR>
|
||||
nmap <silent> <leader>ts :TestSuite<CR>
|
||||
let test#strategy = "neovim"
|
||||
|
||||
" Mypy
|
||||
nmap <silent> <leader>mp :Mypy<CR>
|
||||
|
Loading…
Reference in New Issue
Block a user