]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Add Neovim setup
authorEdward <delaport@illinois.edu>
Wed, 1 Oct 2025 21:21:31 +0000 (16:21 -0500)
committerEdward <delaport@illinois.edu>
Wed, 1 Oct 2025 21:21:31 +0000 (16:21 -0500)
files/neovim/init.lua
setup/ts/neovim.sh [new file with mode: 0755]

index 1544119b9c9c126ad49c245d68578bdbaabca381..d55c804e0273ab3899cdff91a92fca14ab5f3168 100644 (file)
@@ -1,4 +1,4 @@
-local nvjournal = require("plugins.nvjournal")
+local nvjournal = require("nvjournal")
 nvjournal.setup()
 
 vim.print("Setup Vundle")
 nvjournal.setup()
 
 vim.print("Setup Vundle")
@@ -27,7 +27,7 @@ vim.cmd [[
   Plugin 'vim-pandoc/vim-pandoc-syntax'
   Plugin 'nvim-lua/plenary.nvim'
   Plugin 'nvim-telescope/telescope.nvim', { 'tag': '0.1.8' }
   Plugin 'vim-pandoc/vim-pandoc-syntax'
   Plugin 'nvim-lua/plenary.nvim'
   Plugin 'nvim-telescope/telescope.nvim', { 'tag': '0.1.8' }
-  Plugin 'hat0uma/csvview.nvim'
+  " Plugin 'hat0uma/csvview.nvim'
   
   call vundle#end()            " Required
   filetype plugin indent on    " Required
   
   call vundle#end()            " Required
   filetype plugin indent on    " Required
@@ -46,7 +46,7 @@ vim.cmd [[
 ]]
 
 
 ]]
 
 
-require('csvview').setup()
+-- require('csvview').setup()
 
 -- vim.print("what?")
 vim.opt.number = true
 
 -- vim.print("what?")
 vim.opt.number = true
diff --git a/setup/ts/neovim.sh b/setup/ts/neovim.sh
new file mode 100755 (executable)
index 0000000..9b546fb
--- /dev/null
@@ -0,0 +1,15 @@
+NVIM_CONFIG=$HOME/.config/nvim
+NVIM_DOTFILES=$HOME/dotfiles/files/neovim
+
+mkdir -p $NVIM_CONFIG
+mkdir -p $NVIM_CONFIG/lua
+
+mv $NVIM_CONFIG/init.lua $NVIM_CONFIG/init.lua.bak
+ln -s $NVIM_DOTFILES/init.lua $NVIM_CONFIG/init.lua
+
+mv $NVIM_CONFIG/lua/nvjournal.lua $NVIM_CONFIG/lua/nvjournal.lua.bak
+ln -s $NVIM_DOTFILES/nvjournal.lua $NVIM_CONFIG/lua/nvjournal.lua
+
+ls -al $NVIM_CONFIG | grep bash
+ls -al $NVIM_CONFIG/lua | grep bash
+