Skip to content

Commit

Permalink
Neovim: Move config from Lua back to VimScript
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Brudvik committed Jan 13, 2025
1 parent 66934a5 commit da20cc4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 0 additions & 14 deletions home/.config/nvim/init.lua

This file was deleted.

14 changes: 14 additions & 0 deletions home/.config/nvim/init.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
set shortmess+=I " Don't show intro message
set number " Enable line numbers
set clipboard+=unnamedplus " Use the system clipboard
set expandtab " Insert tabs instead of spaces when using the tab button
set softtabstop=4 " Size of tabs -- coupled with expandtab -> number of spaces
set tabstop=4 " Visual size of tab characters
set shiftwidth=4 " How many columns of text are indented with >> or << (or =G)

" Key mappings
nnoremap <CR> :noh<CR><CR>
nnoremap <S-u> <C-r>
nmap <C-c> gcc
vmap <C-c> gc
imap <C-c> <esc>gcci

0 comments on commit da20cc4

Please sign in to comment.