Skip to content

Commit

Permalink
More nvim setup
Browse files Browse the repository at this point in the history
  • Loading branch information
willdeberry committed Apr 12, 2024
1 parent 429c166 commit fbdd650
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .config/nvim/init.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
require('vim')

vim.g.mapleader = " "
vim.g.maplocalleader = " "

require('vim')
require('lazy_init')
require('mappings')
1 change: 0 additions & 1 deletion .config/nvim/lua/vim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ vim.opt.undofile = true
vim.cmd([[
highlight PmenuSel ctermbg=3 ctermfg=0
]])
vim.api.nvim_set_keymap('i', '<CR>', [[ pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>" ]], { noremap = true, expr = true })
4 changes: 3 additions & 1 deletion .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ alias gpt='git push --tags'
alias gl='git pull'
alias gb='git branch'
alias gbr='git for-each-ref --format "%(refname:short)" refs/heads | grep -vw "master\|main\|prod" | xargs git branch -D'
alias vim='vim -p'
alias nvim='nvim -p'
alias vim='nvim -p'
alias vi='vim -p'
alias clean='rm -f *.xz *.deb *.dsc *.changes *.build *.gz'
alias web='python3 -m http.server'
alias home='ssh home'
Expand Down

0 comments on commit fbdd650

Please sign in to comment.