STARTWayland, basically all my dotfiles + wayland equivalent to xinit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
startw/conf/home/vimrc

50 lines
1.1 KiB

5 years ago
" Install vim-plug if it is not already installed, for
" Portability's sake
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
" Plugins will be downloaded under the specified directory.
call plug#begin('~/.vim/plugged')
" Declare the list of plugins.
Plug 'itchyny/lightline.vim'
5 years ago
Plug 'tpope/vim-vinegar'
Plug 'tpope/vim-surround'
5 years ago
Plug 'tpope/vim-fugitive'
Plug 'ap/vim-css-color'
Plug 'godlygeek/tabular'
Plug 'plasticboy/vim-markdown'
5 years ago
" List ends here. Plugins become visible to Vim after this call.
call plug#end()
5 years ago
" Personal preference stuff
set number
set tabstop=4
set smartcase
set colorcolumn=80
set cursorline
colorscheme industry
" Use mouse
set mouse=a
set ttymouse=sgr
5 years ago
5 years ago
" Syntax and some plugins
:filetype plugin on
:syntax on
" Set the viki root directory
" let g:wiki_root = '~/vimwiki'
5 years ago
" lightline is installed so this is not necessary
set noshowmode
set laststatus=2
if !has('gui_running')
set t_Co=256
endif