From a502df7f11793b50ab7d7e42e0263c42f2176224 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Sun, 22 May 2022 14:49:11 -0400 Subject: [PATCH] nvim: not using plugins anymore; separated vim and nvim config --- .dotter/global.toml | 2 ++ .dotter/local.toml | 2 +- vim/init.vim | 10 +++++----- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.dotter/global.toml b/.dotter/global.toml index 87f368e..e655996 100644 --- a/.dotter/global.toml +++ b/.dotter/global.toml @@ -12,6 +12,8 @@ mc = "~/.config/mc" [vim.files] # type symbolic prevents interpreting '{{' as template "vim/.vimrc" = { target = "~/.vimrc", type = "symbolic" } + +[nvim.files] "vim/init.vim" = { target = "~/.config/nvim/init.vim", type = "symbolic" } [i3.files] diff --git a/.dotter/local.toml b/.dotter/local.toml index 26ded92..bfe400e 100644 --- a/.dotter/local.toml +++ b/.dotter/local.toml @@ -1,2 +1,2 @@ # includes = [] -packages = ["mc", "vim", "emacs", "i3", "alacritty"] +packages = ["mc", "nvim", "emacs", "i3", "alacritty"] diff --git a/vim/init.vim b/vim/init.vim index 6c47b76..b0b90e2 100644 --- a/vim/init.vim +++ b/vim/init.vim @@ -31,13 +31,13 @@ endif let mapleader = " " " Plugins -call plug#begin('~/.vim/plugged') +" call plug#begin('~/.vim/plugged') -Plug 'itchyny/lightline.vim' -Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } +" Plug 'itchyny/lightline.vim' +" Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } " Plug 'Valloric/YouCompleteMe' " Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} -Plug 'https://github.com/ap/vim-css-color.git' +" Plug 'https://github.com/ap/vim-css-color.git' " Collection of common configurations for the Nvim LSP client " Plug 'neovim/nvim-lspconfig' @@ -57,7 +57,7 @@ Plug 'https://github.com/ap/vim-css-color.git' " Plug 'tpope/vim-commentary' -call plug#end() +" call plug#end() "------------------------------------------------------------ " Must have options {{{1