138 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			VimL
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			138 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			VimL
		
	
	
		
			Executable File
		
	
	
	
	
vim9script
 | 
						||
# General
 | 
						||
set runtimepath+=/etc/vim/autoload
 | 
						||
set runtimepath+=/etc/vim/plugged
 | 
						||
set runtimepath+=/etc/vim/colors
 | 
						||
 | 
						||
set nowrap		# Wrap lines
 | 
						||
set textwidth=100	# Line wrap (number of cols)
 | 
						||
set showmatch		# Highlight matching brace
 | 
						||
 
 | 
						||
set hlsearch		# Highlight all search results
 | 
						||
set smartcase		# Enable smart-case search
 | 
						||
set ignorecase		# Always case-insensitive
 | 
						||
set incsearch		# Searches for strings incrementally
 | 
						||
 
 | 
						||
set autoindent		# Auto-indent new lines
 | 
						||
set shiftwidth=4	# Number of auto-indent spaces
 | 
						||
set smartindent		# Enable smart-indent
 | 
						||
set smarttab		# Enable smart-tabs
 | 
						||
set softtabstop=4	# Number of spaces per Tab
 | 
						||
 
 | 
						||
# Advanced
 | 
						||
set ruler		# Show row and column ruler information
 | 
						||
 | 
						||
# Begin Vim-plug Plugins
 | 
						||
call plug#begin('/etc/vim/plugged')
 | 
						||
 | 
						||
# HTML Bundle
 | 
						||
Plug 'hail2u/vim-css3-syntax'
 | 
						||
Plug 'gko/vim-coloresque'
 | 
						||
Plug 'tpope/vim-haml'
 | 
						||
Plug 'mattn/emmet-vim'
 | 
						||
 | 
						||
# Python Bundle
 | 
						||
Plug 'davidhalter/jedi-vim'
 | 
						||
Plug 'raimon49/requirements.txt.vim', {'for': 'requirements'}
 | 
						||
 | 
						||
# Rust
 | 
						||
Plug 'racer-rust/vim-racer'     # Vim racer
 | 
						||
Plug 'rust-lang/rust.vim'       # Rust.vim
 | 
						||
 | 
						||
# CSS
 | 
						||
Plug 'hail2u/vim-css3-syntax'
 | 
						||
Plug 'webfd/vim-scss'
 | 
						||
 | 
						||
# 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'
 | 
						||
 | 
						||
call plug#end()
 | 
						||
# END PLUGINS###
 | 
						||
 | 
						||
# Required for filetype-specific plugins
 | 
						||
filetype plugin indent on
 | 
						||
 | 
						||
set backspace=indent,eol,start
 | 
						||
colorscheme molokai	# Color scheme
 | 
						||
 | 
						||
# Airline status bar config
 | 
						||
g:airline_powerline_fonts = 1
 | 
						||
g:airline_theme = 'bubblegum'
 | 
						||
 | 
						||
# vim-airline
 | 
						||
if !exists('g:airline_symbols')
 | 
						||
  g:airline_symbols = {}
 | 
						||
endif
 | 
						||
 | 
						||
if !exists('g:airline_powerline_fonts')
 | 
						||
  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
 | 
						||
  g:airline#extensions#tabline#left_sep = ''
 | 
						||
  g:airline#extensions#tabline#left_alt_sep = ''
 | 
						||
 | 
						||
  # powerline symbols
 | 
						||
  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
 |