moving some stuff around

master
Jordan Orelli 2 years ago
parent dcce2810f9
commit 65af79f8c3

@ -1,10 +0,0 @@
" f5 runs the current project
nmap <F5> :!clear<CR>:!cargo run -q<CR>
nmap <S-F5> :!clear<CR>:!cargo run<CR>
" ctrl-f5 lets you run the current program but prompts you for the cli args
nmap <C-F5> :!clear<CR>:!cargo run --
nmap <F6> :!clear<CR>:!cargo run<CR>
nmap <F7> :!clear<CR>:!cargo check<CR>
nmap <F8> :!clear<CR>:!cargo test<CR>

@ -10,9 +10,9 @@ files:
[home vim]
when: host.has('vim')
files:
.vim/ftplugin
.vim/pack
.vimrc
vim/ftplugin > .vim/ftplugin
vim/pack > .vim/pack
vimrc > .vimrc
# [run vim-plugins]
# when: host.has('vim')
@ -23,9 +23,9 @@ when: host.is_windows and host.has('nvim')
target_root: ~/AppData/Local
files:
nvim/lua
.vim/ftplugin > nvim/ftplugin
.vimrc > nvim/init.vim
Vundle.vim > nvim/bundle/Vundle.vim
vim/ftplugin > nvim/ftplugin
vimrc > nvim/init.vim
Vundle.vim > nvim/bundle/Vundle.vim
[git packer-posix]
when: not host.is_windows

@ -0,0 +1,3 @@
nmap <F5> :Cargo run -q <CR>
nmap <F7> :Cargo check<CR>
nmap <F8> :Cargo test<CR>
Loading…
Cancel
Save