diff --git a/vim/ftplugin/rust.vim b/vim/ftplugin/rust.vim index 1049fd0..30e92e1 100644 --- a/vim/ftplugin/rust.vim +++ b/vim/ftplugin/rust.vim @@ -8,3 +8,5 @@ let g:ale_fix_on_save=1 nnoremap :w:!cargo run nnoremap :w:!cargo test + +nnoremap ^wimut diff --git a/vim/neosnippets/rust.snip b/vim/neosnippets/rust.snip new file mode 100644 index 0000000..02949bd --- /dev/null +++ b/vim/neosnippets/rust.snip @@ -0,0 +1,4 @@ +snippet debug +abbr deb +options head + println!("{:?}", ${1});