(feat) nvim brick
This commit is contained in:
parent
05cf83c6f8
commit
e7025fb68f
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# nvim brick
|
||||||
|
# now first of all it isnt a "nvim package", it is actually a "nvim dotfiles" package
|
||||||
|
# which also installs nvim
|
||||||
|
|
||||||
|
pkgs() {
|
||||||
|
echo neovim
|
||||||
|
}
|
||||||
|
|
||||||
|
install() {
|
||||||
|
mkdir -p ~/.config/nvim
|
||||||
|
cp $BRICKS_DIR/nvim/init.vim ~/.config/nvim/init.vim
|
||||||
|
}
|
|
@ -0,0 +1,7 @@
|
||||||
|
:set number
|
||||||
|
|
||||||
|
:nmap <c-s> :w<CR>
|
||||||
|
:nmap <c-q> :q<CR>
|
||||||
|
|
||||||
|
:imap <c-s> <esc>:w<CR><INS>
|
||||||
|
:imap <c-q> <esc>:q<CR>
|
Loading…
Reference in New Issue