Addded L-binds for: save(L-s), quit(L-qq)(w/o save), quit/save(L-rwqq), & Force quit w/ no save(L-qa)

pull/166/head
Kevin James Lausen 3 years ago
parent 858d83fc75
commit b556e9fe26

@ -120,6 +120,18 @@ keymap("i", "jk", "<ESC>", opts)
keymap("n", "<leader>cc", ":changes<CR>", opts) -- This will open up the Changes-list. keymap("n", "<leader>cc", ":changes<CR>", opts) -- This will open up the Changes-list.
keymap("n", "<leader>rr", ":registers<Cr>", opts) -- This will open up the Registers-list. keymap("n", "<leader>rr", ":registers<Cr>", opts) -- This will open up the Registers-list.
-- "########################################################################
-- "# Adding some hotkeys to more easily deal with splits. #
-- "# qq == :q aka quit file. You will be prompted if the file is unsaved. #
-- "# wq == :wq aka Save and quit. #
-- "# qa == :qa! aka quit the file without saving #
-- "# w == :w <ENTER> aka save(write) file. #
-- "########################################################################
keymap("n", "<leader>qq", ":q<CR>", opts)
keymap("n", "<leader>wq", ":wq<CR>", opts)
keymap("n", "<leader>qa", ":qa!<CR>", opts)
keymap("n", "<leader>s", ":w<CR>", opts)
-- "################################################# -- "#################################################
-- "# I'm mapping vc to reload the .vimrc, # -- "# I'm mapping vc to reload the .vimrc, #
-- "# without closing and re-opening he vim config. # -- "# without closing and re-opening he vim config. #

Loading…
Cancel
Save