Skip to content

Commit

Permalink
Merge pull request #16 from Pakrohk-DotFiles/Develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
Pakrohk authored Dec 11, 2022
2 parents af75894 + 7e7feb7 commit 4fe543c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions init.lua
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
require('packer') -- plugins
require('default') -- load Default config
8 changes: 7 additions & 1 deletion lua/default/basic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,16 @@ else
onedark.load()
end


-- enable mouse support and clipboard(xsel or wl-clipboard(for wayland))
vim.opt.clipboard = "unnamedplus"
vim.opt.mouse = "a"
-- Restore cursor position
vim.api.nvim_create_autocmd({ "BufReadPost" }, {
pattern = { "*" },
callback = function()
vim.api.nvim_exec('silent! normal! g`"zv', false)
end,
})

vim.opt.laststatus= 3 -- Status Line Mode
vim.opt.showtabline= 2 -- Tab Line Mode
Expand Down
2 changes: 0 additions & 2 deletions lua/default/init.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require('default.packer') -- Plugins

-- Basic configs
require('default.basic')
require('default.bindings')
4 changes: 3 additions & 1 deletion lua/default/packer.lua → lua/packer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ packer.startup(
-- Packer can manage itself
use 'wbthomason/packer.nvim'


-- Speed up loading Lua modules in Neovim to improve startup time.
use 'lewis6991/impatient.nvim'

-- treesitter
use {'nvim-treesitter/nvim-treesitter', run = ':TSUpdate',
config = function()
Expand Down

0 comments on commit 4fe543c

Please sign in to comment.