Created
November 6, 2022 22:05
-
-
Save Angel-Dijoux/6ebdef38e91fceca0ce3a27a125dfde4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:set number | |
:set relativenumber | |
:set autoindent | |
:set tabstop=4 | |
:set shiftwidth=4 | |
:set smarttab | |
:set softtabstop=4 | |
:set mouse=a | |
:set encoding=UTF-8 | |
call plug#begin() | |
Plug 'https://github.com/preservim/nerdtree' " NerdTree | |
Plug 'https://github.com/preservim/tagbar' " Tagbar for code navigation | |
Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme | |
Plug 'https://github.com/ryanoasis/vim-devicons' | |
Plug 'https://github.com/vim-airline/vim-airline' " Status bar | |
Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal | |
Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview | |
Plug 'https://github.com/lifepillar/pgsql.vim' " PSQL Pluging needs :SQLSetType pgsql.vim | |
Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc | |
Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) | |
Plug 'https://github.com/neoclide/coc.nvim' " Auto Completion | |
Plug 'https://github.com/folke/noice.nvim' | |
Plug 'https://github.com/MunifTanjim/nui.nvim' | |
call plug#end() | |
lua require("noice").setup() | |
:colorscheme rdark-terminal2 | |
:set completeopt-=preview | |
nnoremap <C-f> :NERDTreeFocus<CR> | |
nnoremap <C-n> :NERDTree<CR> | |
nnoremap <C-n> :NERDTreeToggle<CR> | |
nnoremap <C-l> :call CocActionAsync('jumpDefinition')<CR> | |
nmap <F7> :TerminalSplit zsh<CR> | |
nmap <F8> :TagbarToggle<CR> | |
autocmd FileType python map <buffer> <F9> :w<CR>:exec '!python3' shellescape(@%, 1)<CR> | |
autocmd FileType python imap <buffer> <F9> <esc>:w<CR>:exec '!python3' shellescape(@%, 1)<CR> | |
autocmd FileType javascript map <buffer> <F9> :w<CR>:exec '!node' shellescape(@%, 1)<CR> | |
autocmd FileType javascript imap <buffer> <F9> <esc>:w<CR>:exec '!node' shellescape(@%, 1)<CR> | |
let g:airline_poweline_fonts = 1 | |
inoremap <expr> <Tab> pumvisible() ? coc#_select_confirm() : "<Tab>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Get neovim 8.0
Install
Vim plugin