Updated for vim9script
This commit is contained in:
parent
af8bafcf5c
commit
5e5d48118d
137
vimrc
137
vimrc
@ -4,7 +4,7 @@ set runtimepath+=/etc/vim/autoload
|
||||
set runtimepath+=/etc/vim/plugged
|
||||
set runtimepath+=/etc/vim/colors
|
||||
|
||||
set nowrap # Wrap lines
|
||||
set nowrap # Wrap lines
|
||||
set textwidth=100 # Line wrap (number of cols)
|
||||
set showmatch # Highlight matching brace
|
||||
|
||||
@ -24,9 +24,6 @@ set ruler # Show row and column ruler information
|
||||
|
||||
# Begin Vim-plug Plugins
|
||||
call plug#begin('/etc/vim/plugged')
|
||||
# C bundle
|
||||
# Plug 'vim-scripts/c.vim', {'for': ['c', 'cpp']}
|
||||
# Plug 'ludwig/split-manpage.vim'
|
||||
|
||||
# HTML Bundle
|
||||
Plug 'hail2u/vim-css3-syntax'
|
||||
@ -34,24 +31,10 @@ Plug 'gko/vim-coloresque'
|
||||
Plug 'tpope/vim-haml'
|
||||
Plug 'mattn/emmet-vim'
|
||||
|
||||
# Javascript Bundle
|
||||
# Plug 'jelera/vim-javascript-syntax'
|
||||
|
||||
# PHP Bundle
|
||||
Plug 'phpactor/phpactor', {'for': 'php', 'do': 'composer install --no-dev -o'}
|
||||
Plug 'stephpy/vim-php-cs-fixer'
|
||||
|
||||
# Python Bundle
|
||||
Plug 'davidhalter/jedi-vim'
|
||||
Plug 'raimon49/requirements.txt.vim', {'for': 'requirements'}
|
||||
|
||||
# Ruby bundle
|
||||
# Plug 'tpope/vim-rails'
|
||||
# Plug 'tpope/vim-rake'
|
||||
# Plug 'tpope/vim-projectionist'
|
||||
# Plug 'thoughtbot/vim-rspec'
|
||||
# Plug 'ecomba/vim-ruby-refactoring', {'tag': 'main'}
|
||||
|
||||
# Rust
|
||||
Plug 'racer-rust/vim-racer' # Vim racer
|
||||
Plug 'rust-lang/rust.vim' # Rust.vim
|
||||
@ -60,25 +43,43 @@ Plug 'rust-lang/rust.vim' # Rust.vim
|
||||
Plug 'hail2u/vim-css3-syntax'
|
||||
Plug 'webfd/vim-scss'
|
||||
|
||||
# Bash
|
||||
Plug 'vim-scripts/sh.vim'
|
||||
# Plug 'zplugin/zplugin-vim-syntax'
|
||||
|
||||
# Vim lsp
|
||||
# Plug 'prabirshrestha/vim-lsp'
|
||||
|
||||
# Async.vim
|
||||
# Plug 'prabirshrestha/async.vim'
|
||||
|
||||
# Asyncomplete.vim
|
||||
# Plug 'prabirshrestha/asyncomplete.vim'
|
||||
|
||||
# Asyncomplete lsp.vim
|
||||
# Plug 'prabirshrestha/asyncomplete-lsp.vim'
|
||||
|
||||
# Yuck for eww widgets
|
||||
Plug 'elkowar/yuck.vim'
|
||||
|
||||
# Bash
|
||||
Plug 'vim-scripts/sh.vim'
|
||||
#Plug 'zplugin/zplugin-vim-syntax'
|
||||
|
||||
# C bundle
|
||||
#Plug 'vim-scripts/c.vim', {'for': ['c', 'cpp']}
|
||||
#Plug 'ludwig/split-manpage.vim'
|
||||
#
|
||||
# Javascript Bundle
|
||||
#Plug 'jelera/vim-javascript-syntax'
|
||||
|
||||
# PHP Bundle
|
||||
#Plug 'phpactor/phpactor', {'for': 'php', 'do': 'composer install --no-dev -o'}
|
||||
#Plug 'stephpy/vim-php-cs-fixer'
|
||||
|
||||
# Ruby bundle
|
||||
#Plug 'tpope/vim-rails'
|
||||
#Plug 'tpope/vim-rake'
|
||||
#Plug 'tpope/vim-projectionist'
|
||||
#Plug 'thoughtbot/vim-rspec'
|
||||
#Plug 'ecomba/vim-ruby-refactoring', {'tag': 'main'}
|
||||
|
||||
# Vim lsp
|
||||
#Plug 'prabirshrestha/vim-lsp'
|
||||
|
||||
# Async.vim
|
||||
#Plug 'prabirshrestha/async.vim'
|
||||
|
||||
# Asyncomplete.vim
|
||||
#Plug 'prabirshrestha/asyncomplete.vim'
|
||||
|
||||
# Asyncomplete lsp.vim
|
||||
#Plug 'prabirshrestha/asyncomplete-lsp.vim'
|
||||
|
||||
# Airline statusbar
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
@ -90,45 +91,47 @@ call plug#end()
|
||||
filetype plugin indent on
|
||||
|
||||
set backspace=indent,eol,start
|
||||
colorscheme molokai
|
||||
let g:airline_powerline_fonts = 1
|
||||
let g:airline_theme='bubblegum'
|
||||
colorscheme molokai # Color scheme
|
||||
|
||||
# Airline status bar config
|
||||
g:airline_powerline_fonts = 1
|
||||
g:airline_theme = 'bubblegum'
|
||||
|
||||
# vim-airline
|
||||
if !exists('g:airline_symbols')
|
||||
let g:airline_symbols = {}
|
||||
g:airline_symbols = {}
|
||||
endif
|
||||
|
||||
if !exists('g:airline_powerline_fonts')
|
||||
let g:airline#extensions#tabline#left_sep = ' '
|
||||
let g:airline#extensions#tabline#left_alt_sep = '|'
|
||||
let g:airline_left_sep = '▶'
|
||||
let g:airline_left_alt_sep = '»'
|
||||
let g:airline_right_sep = '◀'
|
||||
let g:airline_right_alt_sep = '«'
|
||||
let g:airline#extensions#branch#prefix = '⤴'
|
||||
let g:airline#extensions#readonly#symbol = '⊘'
|
||||
let g:airline#extensions#linecolumn#prefix = '¶'
|
||||
let g:airline#extensions#paste#symbol = 'ρ'
|
||||
let g:airline_symbols.linenr = '␊'
|
||||
let g:airline_symbols.branch = '⎇'
|
||||
let g:airline_symbols.paste = 'ρ'
|
||||
let g:airline_symbols.paste = 'Þ'
|
||||
let g:airline_symbols.paste = '∥'
|
||||
let g:airline_symbols.whitespace = 'Ξ'
|
||||
g:airline#extensions#tabline#left_sep = ' '
|
||||
g:airline#extensions#tabline#left_alt_sep = '|'
|
||||
g:airline_left_sep = '▶'
|
||||
g:airline_left_alt_sep = '»'
|
||||
g:airline_right_sep = '◀'
|
||||
g:airline_right_alt_sep = '«'
|
||||
g:airline#extensions#branch#prefix = '⤴'
|
||||
g:airline#extensions#readonly#symbol = '⊘'
|
||||
g:airline#extensions#linecolumn#prefix = '¶'
|
||||
g:airline#extensions#paste#symbol = 'ρ'
|
||||
g:airline_symbols.linenr = '␊'
|
||||
g:airline_symbols.branch = '⎇'
|
||||
g:airline_symbols.paste = 'ρ'
|
||||
g:airline_symbols.paste = 'Þ'
|
||||
g:airline_symbols.paste = '∥'
|
||||
g:airline_symbols.whitespace = 'Ξ'
|
||||
else
|
||||
let g:airline#extensions#tabline#left_sep = ''
|
||||
let g:airline#extensions#tabline#left_alt_sep = ''
|
||||
g:airline#extensions#tabline#left_sep = ''
|
||||
g:airline#extensions#tabline#left_alt_sep = ''
|
||||
|
||||
# powerline symbols
|
||||
let g:airline_symbols.space = " "
|
||||
let g:airline_left_sep = ''
|
||||
let g:airline_left_alt_sep = ''
|
||||
let g:airline_right_sep = ''
|
||||
let g:airline_right_alt_sep = ''
|
||||
let g:airline_symbols.branch = ''
|
||||
let g:airline_symbols.readonly = ''
|
||||
let g:airline_symbols.linenr = ' '
|
||||
let g:airline_symbols.maxlinenr = ''
|
||||
let g:airline_symbols.colnr = ' '
|
||||
endif
|
||||
g:airline_symbols.space = " "
|
||||
g:airline_left_sep = ''
|
||||
g:airline_left_alt_sep = ''
|
||||
g:airline_right_sep = ''
|
||||
g:airline_right_alt_sep = ''
|
||||
g:airline_symbols.branch = ''
|
||||
g:airline_symbols.readonly = ''
|
||||
g:airline_symbols.linenr = ' '
|
||||
g:airline_symbols.maxlinenr = ''
|
||||
g:airline_symbols.colnr = ' '
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user