Skip to content

Commit

Permalink
minimal vim should not be under version control
Browse files Browse the repository at this point in the history
instead create a template and copy it into the home dir
on setup of a machine
  • Loading branch information
akinsho committed Aug 15, 2020
1 parent ce13e19 commit c9cd66a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
10 changes: 2 additions & 8 deletions .config/nvim/minimal.vim
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
call plug#begin(stdpath('data') . '/plugged')
" Plug 'akinsho/nvim-bufferline.lua'
Plug 'kyazdani42/nvim-tree.lua'
Plug 'rakr/vim-one' " alternative one dark with a light theme
Plug 'rhysd/conflict-marker.vim'
" insert buggy plugin
Plug 'rakr/vim-one'
call plug#end()

set background=dark
set termguicolors
colorscheme one

" lua require'bufferline'.setup()
nmap <C-N> :LuaTreeToggle<CR>
let g:lua_tree_follow = 1 " show selected file on open
1 change: 1 addition & 0 deletions install.conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@

- shell:
- [git submodule update --init --recursive, Installing submodules]
- [cp ./.config/nvim/minimal.vim ~/] # this is not a symlink just copying a template
2 changes: 1 addition & 1 deletion zsh/scripts/alias.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ alias dots="cd $DOTFILES"
alias coding="cd ~/Desktop/Coding"
alias lp="lsp"
alias v='nvim'
alias minimalvim="nvim -u $DOTFILES/.config/nvim/minimal.vim"
alias minimalvim="nvim -u ~/minimal.vim"
alias vi='nvim'
alias nv='nvim'
# When working on local plugins set an environment variable to check
Expand Down

0 comments on commit c9cd66a

Please sign in to comment.