vim.cmd("set mouse=") vim.cmd("set number relativenumber") vim.cmd("set nowrap") vim.cmd("set scrolloff=9") vim.cmd("set tabstop=4") vim.cmd("set shiftwidth=4") vim.cmd("set ignorecase smartcase") vim.cmd("set clipboard=unnamedplus") vim.keymap.set('n', 'ff', 'Telescope find_files') vim.keymap.set('n', 'fr', 'Telescope oldfiles') vim.keymap.set('n', 'fg', 'Telescope git_files') vim.keymap.set('n', '>', '>>^') vim.keymap.set('n', '<', '<<^') vim.keymap.set('v', '<', '', '>gv^') vim.keymap.set('n', 'w', 'w') vim.keymap.set('n', 'q', 'q') vim.keymap.set('n', 'c', ':bdelete') vim.keymap.set('n', '', 'bprevious') vim.keymap.set('n', '', 'bnext') vim.keymap.set('n', "", "resize -2") vim.keymap.set('n', "", "resize +2") vim.keymap.set('n', "", "vertical resize -2") vim.keymap.set('n', "", "vertical resize +2") vim.api.nvim_create_autocmd('TextYankPost', { callback = function() vim.highlight.on_yank() end }) local fname = os.getenv("HOME") .. "/.bck-nvim.lua" local f = io.open(fname, "r") if f ~= nil then io.close(f) vim.cmd('luafile ' .. fname) end