Allow renaming of files

This commit is contained in:
Andrew Tomaka 2022-11-04 21:31:49 -04:00
parent ceaa139ea0
commit 8495c9d0b7
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE
3 changed files with 5 additions and 9 deletions

View file

@ -56,6 +56,8 @@ vim.keymap.set("n", "<leader>cs", ":let @/ = ''<cr>")
vim.keymap.set("n", "<leader>fj", ":%!jq .<cr>")
vim.keymap.set("n", "<leader>gg", ":exe '!gh gist create -w %:p'<cr><cr>")
vim.keymap.set('n', '<leader>sa', ':Move %<tab>')
--- tabs
vim.keymap.set("n", "<Leader>2", function()
print("Setting tabstop to 2")

View file

@ -1,23 +1,16 @@
-- SETTING CONFIGURATION
vim.opt.autowrite = true
-- vim.opt.backspace = 2 -- default in neovim?
vim.opt.cpoptions:append("$")
-- vim.opt.endofline -- default in neovim?
-- vim.opt.laststatus = 2 -- default in neovim?
-- vim.opt.backup = false -- default in neovim?
vim.opt.swapfile = false
vim.opt.wrap = false
vim.opt.scrolloff = 3
vim.opt.showmatch = true
-- vim.opt.showmode = true -- default in neovim?
-- vim.opt.showmode = true -- default in neovim?
vim.opt.timeoutlen = 500
vim.opt.virtualedit = "all"
-- vim.opt.hlsearch = true -- default in neovim?
vim.opt.ignorecase = true
-- vim.opt.incsearch = true -- default in neovim?
vim.opt.smartcase = true
-- vim.opt.wrapscan = true -- default in neovim?
-- Allow use of tab in macros
vim.opt.wildcharm = ('\t'):byte()
vim.opt.number = true
vim.opt.relativenumber = true

View file

@ -31,6 +31,7 @@ return require('packer').startup(function(use)
use "lewis6991/gitsigns.nvim"
use "nyngwang/NeoZoom.lua" -- TODO: Floating window background color
use "ruifm/gitlinker.nvim"
use "tpope/vim-eunuch"
use "gruvbox-community/gruvbox"