Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/smoke-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v4

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y zsh tmux neovim lua5.4 python3 fd-find bat
run: sudo apt-get update && sudo apt-get install -y vim zsh tmux neovim lua5.4 python3 fd-find bat

- name: Prepare tmux powerline placeholder
run: mkdir -p "$HOME/.powerline/powerline/bindings/tmux" && touch "$HOME/.powerline/powerline/bindings/tmux/powerline.conf"
Expand All @@ -32,6 +32,12 @@ jobs:
- name: Validate Neovim template syntax
run: lua -e "assert(loadfile('run_commands/my_nvim_init.lua'))"

- name: Validate Vim template startup
run: vim -Nu run_commands/my_vimrc -n -es +qa!

- name: Validate hidden Vim template startup
run: vim -Nu run_commands/.my_vimrc -n -es +qa!

- name: Validate Makefile targets
run: make help

Expand Down
83 changes: 47 additions & 36 deletions run_commands/.my_vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,40 @@
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'derekwyatt/vim-scala'
Plugin 'JuliaLang/julia-vim'
Plugin 'jmcantrell/vim-virtualenv'
Plugin 'edkolev/tmuxline.vim'
Plugin 'sjl/gundo.vim'
Plugin 'bling/vim-bufferline'
Plugin 'airblade/vim-gitgutter.git'
Plugin 'godlygeek/csapprox'
Plugin 'altercation/vim-colors-solarized.git'
Plugin 'majutsushi/tagbar'
Plugin 'vim-scripts/supertab.git'
Plugin 'tomtom/tcomment_vim'
Plugin 'Raimondi/delimitMate'
Plugin 'haya14busa/incsearch.vim'
Plugin 'easymotion/vim-easymotion'
Plugin 'kien/ctrlp.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'bling/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'powerline/powerline', {'rtp': 'powerline/bindings/vim/'}
Plugin 'chrisbra/csv.vim'
Plugin 'scrooloose/syntastic'
Plugin 'davidhalter/jedi-vim'
Plugin 'itchyny/lightline.vim'
Plugin 'itchyny/landscape.vim'
Plugin 'python-rope/rope'
Plugin 'tpope/vim-fugitive'
Plugin 'git://git.wincent.com/command-t.git'
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
Plugin 'terryma/vim-multiple-cursors'
call vundle#end()
if exists('*vundle#begin')
call vundle#begin()
Plugin 'derekwyatt/vim-scala'
Plugin 'JuliaLang/julia-vim'
Plugin 'jmcantrell/vim-virtualenv'
Plugin 'edkolev/tmuxline.vim'
Plugin 'sjl/gundo.vim'
Plugin 'bling/vim-bufferline'
Plugin 'airblade/vim-gitgutter.git'
Plugin 'godlygeek/csapprox'
Plugin 'altercation/vim-colors-solarized.git'
Plugin 'majutsushi/tagbar'
Plugin 'vim-scripts/supertab.git'
Plugin 'tomtom/tcomment_vim'
Plugin 'Raimondi/delimitMate'
Plugin 'haya14busa/incsearch.vim'
Plugin 'easymotion/vim-easymotion'
Plugin 'kien/ctrlp.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'bling/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'powerline/powerline', {'rtp': 'powerline/bindings/vim/'}
Plugin 'chrisbra/csv.vim'
Plugin 'scrooloose/syntastic'
Plugin 'davidhalter/jedi-vim'
Plugin 'itchyny/lightline.vim'
Plugin 'itchyny/landscape.vim'
Plugin 'python-rope/rope'
Plugin 'tpope/vim-fugitive'
Plugin 'git://git.wincent.com/command-t.git'
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
Plugin 'terryma/vim-multiple-cursors'
call vundle#end()
endif
filetype plugin indent on

" Brief help
Expand All @@ -48,7 +50,9 @@ filetype plugin indent on
" ----------------------------------------------------------------------------

" Pathogen
execute pathogen#infect()
if exists('*pathogen#infect')
execute pathogen#infect()
endif

" Jedi-Vim
let g:jedi#auto_initialization = 1
Expand Down Expand Up @@ -81,7 +85,9 @@ let g:airline#extensions#tmuxline#enabled = 0
set laststatus=2
set statusline=%<%f\ " Filename
set statusline+=%w%h%m%r " Options
set statusline+=%{fugitive#statusline()} " Git Hotness
if exists('*fugitive#statusline')
set statusline+=%{fugitive#statusline()} " Git Hotness
endif
set statusline+=\ [%{&ff}/%Y] " filetype
set statusline+=\ [%{getcwd()}] " current dir

Expand Down Expand Up @@ -139,7 +145,9 @@ let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_python_checkers = ['pyflakes', 'flake8']
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
if exists('*SyntasticStatuslineFlag')
set statusline+=%{SyntasticStatuslineFlag()}
endif
set statusline+=%*

" Color Theme
Expand Down Expand Up @@ -170,10 +178,13 @@ nnoremap <c-h> <c-w>h
nnoremap <c-l> <c-w>l

" Solarized Colors
colorscheme solarized
let g:solarized_termtrans=1
let g:solarized_termcolors=256
let g:solarized_contrast="normal"
let g:solarized_visibility="normal"
set background=dark
silent! colorscheme solarized
if !exists('g:colors_name') || g:colors_name !=# 'solarized'
silent! colorscheme torte
endif
let g:CSApprox_loaded = 1
83 changes: 47 additions & 36 deletions run_commands/my_vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,40 @@
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'derekwyatt/vim-scala'
Plugin 'JuliaLang/julia-vim'
Plugin 'jmcantrell/vim-virtualenv'
Plugin 'edkolev/tmuxline.vim'
Plugin 'sjl/gundo.vim'
Plugin 'bling/vim-bufferline'
Plugin 'airblade/vim-gitgutter.git'
Plugin 'godlygeek/csapprox'
Plugin 'altercation/vim-colors-solarized.git'
Plugin 'majutsushi/tagbar'
Plugin 'vim-scripts/supertab.git'
Plugin 'tomtom/tcomment_vim'
Plugin 'Raimondi/delimitMate'
Plugin 'haya14busa/incsearch.vim'
Plugin 'easymotion/vim-easymotion'
Plugin 'kien/ctrlp.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'vim-airline/vim-airline-themes'
"FIXME: Problems with Calalina MacOs
"Plugin 'powerline/powerline', {'rtp': 'powerline/bindings/vim/'}
Plugin 'chrisbra/csv.vim'
Plugin 'scrooloose/syntastic'
Plugin 'davidhalter/jedi-vim'
Plugin 'itchyny/lightline.vim'
Plugin 'itchyny/landscape.vim'
Plugin 'python-rope/rope'
Plugin 'tpope/vim-fugitive'
Plugin 'git://git.wincent.com/command-t.git'
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
Plugin 'terryma/vim-multiple-cursors'
call vundle#end()
if exists('*vundle#begin')
call vundle#begin()
Plugin 'derekwyatt/vim-scala'
Plugin 'JuliaLang/julia-vim'
Plugin 'jmcantrell/vim-virtualenv'
Plugin 'edkolev/tmuxline.vim'
Plugin 'sjl/gundo.vim'
Plugin 'bling/vim-bufferline'
Plugin 'airblade/vim-gitgutter.git'
Plugin 'godlygeek/csapprox'
Plugin 'altercation/vim-colors-solarized.git'
Plugin 'majutsushi/tagbar'
Plugin 'vim-scripts/supertab.git'
Plugin 'tomtom/tcomment_vim'
Plugin 'Raimondi/delimitMate'
Plugin 'haya14busa/incsearch.vim'
Plugin 'easymotion/vim-easymotion'
Plugin 'kien/ctrlp.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'vim-airline/vim-airline-themes'
"FIXME: Problems with Calalina MacOs
"Plugin 'powerline/powerline', {'rtp': 'powerline/bindings/vim/'}
Plugin 'chrisbra/csv.vim'
Plugin 'scrooloose/syntastic'
Plugin 'davidhalter/jedi-vim'
Plugin 'itchyny/lightline.vim'
Plugin 'itchyny/landscape.vim'
Plugin 'python-rope/rope'
Plugin 'tpope/vim-fugitive'
Plugin 'git://git.wincent.com/command-t.git'
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
Plugin 'terryma/vim-multiple-cursors'
call vundle#end()
endif
filetype plugin indent on

" Brief help
Expand All @@ -48,7 +50,9 @@ filetype plugin indent on
" ----------------------------------------------------------------------------

" Pathogen
execute pathogen#infect()
if exists('*pathogen#infect')
execute pathogen#infect()
endif

" Jedi-Vim
let g:jedi#auto_initialization = 1
Expand Down Expand Up @@ -81,7 +85,9 @@ let g:airline#extensions#tmuxline#enabled = 0
set laststatus=2
set statusline=%<%f\ " Filename
set statusline+=%w%h%m%r " Options
set statusline+=%{fugitive#statusline()} " Git Hotness
if exists('*fugitive#statusline')
set statusline+=%{fugitive#statusline()} " Git Hotness
endif
set statusline+=\ [%{&ff}/%Y] " filetype
set statusline+=\ [%{getcwd()}] " current dir

Expand Down Expand Up @@ -138,7 +144,9 @@ let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_python_checkers = ['pyflakes', 'flake8']
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
if exists('*SyntasticStatuslineFlag')
set statusline+=%{SyntasticStatuslineFlag()}
endif
set statusline+=%*

" Color Theme
Expand Down Expand Up @@ -174,7 +182,10 @@ let g:solarized_termtrans=1
let g:solarized_termcolors=256
let g:solarized_contrast="normal"
let g:solarized_visibility="normal"
colorscheme solarized
silent! colorscheme solarized
if !exists('g:colors_name') || g:colors_name !=# 'solarized'
silent! colorscheme torte
endif
let g:CSApprox_loaded = 1

" Highligh Line and Column
Expand Down
Loading