Add floating term and autoclose, remove easycomplete, which caused problems
This commit is contained in:
parent
40561ed88b
commit
c40c7c7345
|
@ -10,11 +10,14 @@ source ~/.config/vim/plugin_configuration/ale.vim
|
|||
" NERDTree show hidden files
|
||||
source ~/.config/vim/plugin_configuration/nerdtree.vim
|
||||
|
||||
" Easycomplete keybindings and tabine config
|
||||
source ~/.config/vim/plugin_configuration/easycomplete.vim
|
||||
|
||||
" Smoothing
|
||||
source ~/.config/vim/plugin_configuration/smoothing.vim
|
||||
|
||||
" Update of plugins
|
||||
source ~/.config/vim/plugin_configuration/packagemanager.vim
|
||||
|
||||
" FZF window bindings
|
||||
source ~/.config/vim/plugin_configuration/fzf.vim
|
||||
|
||||
" Autoclose
|
||||
source ~/.config/vim/plugin_configuration/autoclose.vim
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
" Fix files with prettier, and then ESLint.
|
||||
let b:ale_fixers = {'*': ['remove_trailing_lines', 'trim_whitespace']}
|
||||
let g:ale_fix_on_save = 1
|
||||
let g:ale_sign_error = '!'
|
||||
let g:ale_sign_warning = '?'
|
||||
let g:ale_sign_error = '>>'
|
||||
let g:ale_sign_warning = '--'
|
||||
let g:ale_ada_gpr_project_file = "default.gpr"
|
||||
let g:ale_ada_adals_project = 'default.gpr'
|
||||
let g:ale_ada_adals_executable = 'ada_language_server'
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
let g:AutoPairsFlyMode = 1
|
||||
let g:AutoPairsShortcutBackInsert = '<M-b>'
|
||||
|
||||
let g:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', "`":"`", '```':'```', '"""':'"""', "'''":"'''", "<!--":"-->"}
|
||||
|
||||
" Could battle Ultisnips!
|
||||
au FileType ada let b:AutoPairs = AutoPairsDefine({'begin' : 'end'})
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
nnoremap <leader>ff <cmd>Files<cr>
|
||||
nnoremap <leader>fg <cmd>Lines<cr>
|
||||
nnoremap <leader>fb <cmd>Buffers<cr>
|
||||
nnoremap <leader>fs <cmd>Snippets<cr>
|
||||
nnoremap <leader>fw <cmd>Windows<cr>
|
||||
nnoremap <c-f> <cmd>BLines<cr>
|
||||
|
|
@ -6,5 +6,7 @@ nnoremap <F8> :TagbarToggle<CR>
|
|||
nnoremap <C-y> :BufstopFast<CR>
|
||||
|
||||
" Set colorscheme
|
||||
colorscheme cyberspace
|
||||
colorscheme default
|
||||
|
||||
" Set floating terminal
|
||||
nnoremap <C-t> :FloatTermNew --height=0.9 --width=0.9 --wintype=float --name=terminal <CR>
|
||||
|
|
|
@ -3,7 +3,6 @@ call plug#begin('~/.vim/plugged')
|
|||
Plug 'preservim/nerdtree'
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'SirVer/ultisnips'
|
||||
Plug 'jayli/vim-easycomplete'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
" Plug 'mhinz/vim-startify'
|
||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||
|
@ -11,9 +10,10 @@ call plug#begin('~/.vim/plugged')
|
|||
Plug 'junegunn/fzf.vim'
|
||||
Plug 'ryanoasis/vim-devicons'
|
||||
Plug 'preservim/tagbar'
|
||||
Plug 'mechatroner/rainbow_csv'
|
||||
Plug 'mihaifm/bufstop'
|
||||
Plug 'hiroakis/cyberspace.vim' " I'm feeling Cyber XD
|
||||
Plug 'tpope/vim-speeddating'
|
||||
Plug 'vim-autoformat/vim-autoformat'
|
||||
Plug 'voldikss/vim-floaterm'
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
call plug#end()
|
||||
|
|
|
@ -12,6 +12,10 @@ set cursorline
|
|||
" colorscheme
|
||||
colorscheme desert
|
||||
|
||||
" Set leader key
|
||||
let mapleader = ","
|
||||
set showcmd
|
||||
|
||||
" open new files right/below
|
||||
set splitright
|
||||
set splitbelow
|
||||
|
|
Loading…
Reference in New Issue