Created
September 10, 2021 02:08
-
-
Save yogasukma/aeaf71aac2d5fe2fab6e4b1d13a90630 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 noswapfile | |
set nocompatible | |
set nowrap | |
set expandtab | |
set laststatus=2 | |
set tabstop=4 | |
set shiftwidth=4 | |
set splitright | |
set splitbelow | |
filetype off | |
syntax on | |
set rtp+=~/.vim/bundle/Vundle.vim | |
set rtp+=/usr/local/opt/fzf | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'ayu-theme/ayu-vim' | |
Plugin 'junegunn/fzf' | |
Plugin 'junegunn/fzf.vim' | |
Plugin 'neoclide/coc.nvim' | |
Plugin 'SirVer/ultisnips' | |
Plugin 'preservim/nerdtree' | |
Plugin 'StanAngeloff/php.vim' | |
Plugin 'arnaud-lb/vim-php-namespace' | |
Plugin 'jwalton512/vim-blade' | |
Plugin 'pangloss/vim-javascript' | |
Plugin 'posva/vim-vue' | |
Plugin 'junegunn/vim-easy-align' | |
call vundle#end() | |
filetype plugin indent on | |
set termguicolors " enable true colors support | |
let ayucolor="dark" " dark | mirage | light | |
colorscheme ayu | |
nmap <C-s> :w<CR> | |
nmap <C-q> :q<CR> | |
nmap <C-p> :Files<CR> | |
nmap <C-i> :Tags<CR> | |
nmap <C-o> :Buffers<CR> | |
nmap <C-e> :NERDTreeToggle<CR> | |
nmap <C-Left> :tabn<CR> | |
nmap <C-Right> :tabp<CR> | |
nmap <C-t> :tabe<CR> | |
nmap ga <Plug>(EasyAlign) | |
function! IPhpInsertUse() | |
call PhpInsertUse() | |
call feedkeys('a', 'n') | |
endfunction | |
autocmd FileType php inoremap <Leader>u <Esc>:call IPhpInsertUse()<CR> | |
autocmd FileType php noremap <Leader>u :call PhpInsertUse()<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment