summaryrefslogtreecommitdiff
path: root/dotfiles/nvim/lua/master/vim_settings.lua
diff options
context:
space:
mode:
authorSuleyman Farajli <suleyman@farajli.net>2024-07-20 20:22:03 +0400
committerSuleyman Farajli <suleyman@farajli.net>2024-07-20 20:22:03 +0400
commitc419b97b5cc61127ca2b7f9839a588c2ee3e7353 (patch)
tree623e75923db712e700a447fbb48c0f7105836f8d /dotfiles/nvim/lua/master/vim_settings.lua
parent395efb9df45b2000ef6aa11d2c9b7b1904b8c586 (diff)
directory name changed from dotfiles to config
Diffstat (limited to 'dotfiles/nvim/lua/master/vim_settings.lua')
-rw-r--r--dotfiles/nvim/lua/master/vim_settings.lua42
1 files changed, 0 insertions, 42 deletions
diff --git a/dotfiles/nvim/lua/master/vim_settings.lua b/dotfiles/nvim/lua/master/vim_settings.lua
deleted file mode 100644
index 24c8564..0000000
--- a/dotfiles/nvim/lua/master/vim_settings.lua
+++ /dev/null
@@ -1,42 +0,0 @@
--- [[Vim settings]]
-
-vim.cmd("set clipboard+=unnamedplus") -- Use System Clipboard
-vim.opt.fillchars = {eob = " "}
-
-
--- [[ Changes to make vim look simpler ]]
-vim.cmd([[ set shortmess+=I ]]) -- Remove Intro text when entering vim
-vim.cmd("set noshowmode")
--- vim.cmd("set noshowcmd")
-vim.cmd("set noruler")
-vim.cmd("set laststatus=-")
-vim.cmd("set statusline=0")
--- []
-
-vim.cmd([[set number]])
-
-vim.cmd([[set scrolloff=5]]) -- Smooth scroll
-
-vim.o.background = "dark" -- or "light" for light mode
-
-vim.cmd([[set formatoptions-=cro]]) -- Deactivating autocomment
-
-vim.cmd([[autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o]])
-
-vim.cmd([[ autocmd BufwritePost * %s/\s\+$//e ]]) -- Remove useless spaces when saving
--- [[Mappings]]
-
--- Move cursor in Insert mode
-vim.keymap.set('i','<C-k>','<C-o>gk')
-vim.keymap.set('i','<C-h>','<Left>')
-vim.keymap.set('i','<C-l>','<Right>')
-vim.keymap.set('i','<C-j>','<C-o>gj')
-
-vim.g.mapleader = ' '
-vim.g.maplocalleader = ' '
-
-vim.keymap.set('n','<leader><leader>',':w!<CR>')
-vim.keymap.set('n','<leader>q',':wqa!<CR>')
-vim.keymap.set('n','<leader>e', ':Neotree toggle right<CR>')
-vim.keymap.set('n', '<leader>o', '<C-W>w')
-vim.cmd("colorscheme gruvbox")