Skip to content

Commit

Permalink
setting.lua and shortcuts keybinds
Browse files Browse the repository at this point in the history
  • Loading branch information
pupperemeritus committed Feb 19, 2022
1 parent fcaf6a4 commit 159ec4b
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 21 deletions.
44 changes: 33 additions & 11 deletions settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,38 @@ local set = vim.opt
local config = {

-- Set colorscheme
colorscheme = "deep-space",
colorscheme = "afterglow",

-- Add plugins
plugins = {
{ "andweeb/presence.nvim" },
{
"ray-x/lsp_signature.nvim",
event = "BufRead",
config = function()
require("lsp_signature").setup()
end,
},
{"andweeb/presence.nvim"},
{
"ray-x/lsp_signature.nvim",
event = "BufRead",
config = function()
require("lsp_signature").setup()
end
},
{
"farmergreg/vim-lastplace",
"junegunn/limelight.vim",
"junegunn/goyo.vim",
"tyrannicaltoucan/vim-deep-space",
"danilo-augusto/vim-afterglow",
}
},
overrides = {
treesitter = {
ensure_installed = { "lua" },
},
},

-- On/off virtual diagnostics text
virtual_text = true,

-- Disable default plugins
enabled = {
bufferline = true,
nvim_tree = true,
lualine = true,
lspsaga = true,
Expand All @@ -42,11 +55,20 @@ local config = {
}

-- Set options
set.relativenumber = false
set.termguicolors = true
set.relativenumber = true
set.timeoutlen = 100
set.hidden = false
set.smarttab = true
set.expandtab = true
set.nocompatible = true
set.timeoutlen = 100
set.hidden = false

-- Set key bindings
map("n", "<C-s>", ":w!<CR>", opts)
map("n", "<F9>",":Goyo <bar> <CR>",opts)
map("n", "<F8>", ":Limelight! <bar> <CR>",opts)
map("n", "<F7>", ":Limelight <bar> <CR>",opts)

-- Set autocommands
vim.cmd [[
Expand Down
24 changes: 14 additions & 10 deletions shortcutkeybindskde(shortcutsinkdesettings).kksrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[ActivityManager][Global Shortcuts]
switch-to-activity-025a74c3-411d-445d-9d7d-f84f9c2800f0=Meta+F5
switch-to-activity-098c35aa-5e0b-4261-a1e1-843d35bc6fc2=Meta+F2
switch-to-activity-1f9955b0-c594-491d-b594-75618021d857=Meta+F4
switch-to-activity-4b62cfd0-afc0-4db2-b302-c47ba01b15bb=Meta+F3
Expand All @@ -11,7 +12,7 @@ Switch to Next Keyboard Layout=Ctrl+Alt+K
[StandardShortcuts]
AboutApp=
AboutKDE=
Activate Next Tab=Ctrl+]; Ctrl+PgDown
Activate Next Tab=Ctrl+PgDown; Ctrl+]
Activate Previous Tab=Ctrl+PgUp; Ctrl+[
ActualSize=Ctrl+0
AddBookmark=Ctrl+B
Expand All @@ -20,7 +21,7 @@ BackwardWord=Ctrl+Left
Begin=Ctrl+Home
BeginningOfLine=Home
Clear=
Close=Ctrl+Esc; Ctrl+W
Close=Ctrl+W; Ctrl+Esc
ConfigureNotifications=
ConfigureToolbars=
Copy=Ctrl+Ins; Ctrl+C
Expand Down Expand Up @@ -58,7 +59,7 @@ Next=PgDown
NextCompletion=Ctrl+Down
Open=Ctrl+O
OpenRecent=
Paste=Ctrl+V; Shift+Ins
Paste=Shift+Ins; Ctrl+V
Paste Selection=Ctrl+Shift+Ins
Preferences=Ctrl+Shift+,
PrevCompletion=Ctrl+Up
Expand All @@ -67,7 +68,7 @@ PrintPreview=
Prior=PgUp
Quit=Ctrl+Q
Redo=Ctrl+Shift+Z
Reload=F5; Refresh
Reload=Refresh; F5
RenameFile=F2
Replace=Ctrl+R
ReportBug=
Expand All @@ -91,7 +92,7 @@ Undo=Ctrl+Z
Up=Alt+Up
WhatsThis=Shift+F1
Zoom=
ZoomIn=Ctrl++; Ctrl+=
ZoomIn=Ctrl+=; Ctrl++
ZoomOut=Ctrl+-

[kaccess][Global Shortcuts]
Expand Down Expand Up @@ -123,7 +124,7 @@ mute=Volume Mute

[ksmserver][Global Shortcuts]
Halt Without Confirmation=Ctrl+Alt+Shift+PgDown
Lock Session=Meta+L; Screensaver; Ctrl+Alt+L
Lock Session=Meta+L; Ctrl+Alt+L; Screensaver
Log Out=Ctrl+Alt+Del
Log Out Without Confirmation=Ctrl+Alt+Shift+Del
Reboot Without Confirmation=Ctrl+Alt+Shift+PgUp
Expand All @@ -144,7 +145,7 @@ Invert Screen Colors=
InvertWindow=Meta+Ctrl+U
Kill Window=Ctrl+Alt+Esc
Krohnkite: Cycle Layout=
Krohnkite: Decrease=
Krohnkite: Decrease=Meta+Shift+D
Krohnkite: Down/Next=Meta+J
Krohnkite: Float=Meta+F
Krohnkite: Float All=Meta+Shift+F
Expand All @@ -162,6 +163,8 @@ Krohnkite: Next Layout=Meta+\\
Krohnkite: Previous Layout=Meta+|
Krohnkite: Quarter Layout=
Krohnkite: Right=
Krohnkite: Rotate=Meta+R
Krohnkite: Rotate Part=Meta+Shift+R
Krohnkite: Set master=Meta+Return
Krohnkite: Shrink Height=Meta+Ctrl+K
Krohnkite: Shrink Width=Meta+Ctrl+H
Expand All @@ -170,13 +173,13 @@ Krohnkite: Stair Layout=
Krohnkite: Three Column Layout=
Krohnkite: Tile Layout=Meta+T
Krohnkite: Up/Prev=Meta+K
MoveMouseToCenter=Meta+F6
MoveMouseToFocus=Meta+F5
MoveMouseToCenter=
MoveMouseToFocus=
MoveZoomDown=
MoveZoomLeft=
MoveZoomRight=
MoveZoomUp=
Overview=Meta+Ctrl+D
Overview=Meta+Space
Setup Window Shortcut=
Show Desktop=Meta+D
ShowDesktopGrid=Ctrl+F8
Expand Down Expand Up @@ -250,6 +253,7 @@ Window Maximize Horizontal=
Window Maximize Vertical=
Window Minimize=Meta+PgDown
Window Move=
Window Move Center=
Window No Border=
Window On All Desktops=
Window One Desktop Down=
Expand Down

0 comments on commit 159ec4b

Please sign in to comment.