mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
feat(kate): Initial config for Kate IDE
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_ClangFormatFullFile
|
||||||
|
arguments=-i %{Document:FileName}
|
||||||
|
category=Tools
|
||||||
|
cmdname=clang-format-file
|
||||||
|
executable=clang-format
|
||||||
|
name=Clang Format Full File
|
||||||
|
output=Ignore
|
||||||
|
reload=true
|
||||||
|
save=CurrentDocument
|
||||||
|
trigger=None
|
||||||
|
workingDir=%{Document:Path}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_ClangFormatSelectedText
|
||||||
|
arguments=-assume-filename=%{Document:FileName}
|
||||||
|
category=Tools
|
||||||
|
cmdname=clang-format-selection
|
||||||
|
executable=clang-format
|
||||||
|
input=\s%{Document:Selection:Text}
|
||||||
|
name=Clang Format Selected Text
|
||||||
|
output=ReplaceSelectedText
|
||||||
|
reload=false
|
||||||
|
save=None
|
||||||
|
trigger=None
|
||||||
|
workingDir=%{Document:Path}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_C++CompileRun
|
||||||
|
arguments=-c 'g++ "%{Document:FilePath}" -o "%{Document:FileBaseName}" && "./%{Document:FileBaseName}"'
|
||||||
|
category=Tools
|
||||||
|
executable=sh
|
||||||
|
icon=text-x-c++src
|
||||||
|
name=Compile and Run cpp
|
||||||
|
output=DisplayInPane
|
||||||
|
reload=false
|
||||||
|
save=CurrentDocument
|
||||||
|
trigger=None
|
||||||
|
workingDir=%{Document:Path}
|
||||||
14
common/.config/kate/externaltools/Go%20Fmt%20Full%20File.ini
Normal file
14
common/.config/kate/externaltools/Go%20Fmt%20Full%20File.ini
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_GoFmt
|
||||||
|
arguments=%{Document:FileName}
|
||||||
|
category=Go
|
||||||
|
cmdname=gofmt-full-file
|
||||||
|
executable=gofmt
|
||||||
|
icon=text/x-go
|
||||||
|
mimetypes=text/x-go
|
||||||
|
name=Go Fmt Full File
|
||||||
|
output=ReplaceCurrentDocument
|
||||||
|
reload=false
|
||||||
|
save=CurrentDocument
|
||||||
|
trigger=None
|
||||||
|
workingDir=%{Document:Path}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_GoImports
|
||||||
|
arguments=%{Document:FileName}
|
||||||
|
category=Go
|
||||||
|
cmdname=goimports-full-file
|
||||||
|
executable=goimports
|
||||||
|
icon=text-x-go
|
||||||
|
mimetypes=text/x-go
|
||||||
|
name=GoImports Full File
|
||||||
|
output=ReplaceCurrentDocument
|
||||||
|
reload=false
|
||||||
|
save=CurrentDocument
|
||||||
|
trigger=None
|
||||||
|
workingDir=%{Document:Path}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_GoogleSelectedText
|
||||||
|
arguments="https://www.google.com/search?q=%{PercentEncoded:%{Document:Selection:Text}}"
|
||||||
|
category=Tools
|
||||||
|
cmdname=google
|
||||||
|
executable=xdg-open
|
||||||
|
icon=globe
|
||||||
|
name=Google Selected Text
|
||||||
|
output=Ignore
|
||||||
|
reload=false
|
||||||
|
save=None
|
||||||
|
trigger=None
|
||||||
11
common/.config/kate/externaltools/Insert%20UUID.ini
Normal file
11
common/.config/kate/externaltools/Insert%20UUID.ini
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_InsertUUID
|
||||||
|
arguments=%{UUID}
|
||||||
|
category=Tools
|
||||||
|
cmdname=uuid
|
||||||
|
executable=echo
|
||||||
|
name=Insert UUID
|
||||||
|
output=InsertAtCursor
|
||||||
|
reload=false
|
||||||
|
save=None
|
||||||
|
trigger=None
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_JSONFormatFullFile
|
||||||
|
arguments="."
|
||||||
|
category=Tools
|
||||||
|
cmdname=json-format-file
|
||||||
|
executable=jq
|
||||||
|
icon=application-json
|
||||||
|
input=%{Document:Text}
|
||||||
|
name=JSON Format Full File
|
||||||
|
output=ReplaceCurrentDocument
|
||||||
|
reload=false
|
||||||
|
save=CurrentDocument
|
||||||
|
trigger=None
|
||||||
|
workingDir=%{Document:Path}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_Prettier
|
||||||
|
arguments=%{Document:FileName}
|
||||||
|
category=Tools
|
||||||
|
cmdname=prettier-format-full-file
|
||||||
|
executable=prettier
|
||||||
|
name=Prettier Format Current File
|
||||||
|
output=ReplaceCurrentDocument
|
||||||
|
reload=false
|
||||||
|
save=CurrentDocument
|
||||||
|
trigger=None
|
||||||
|
workingDir=%{Document:Path}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_QtQuick2Previewqmlscene
|
||||||
|
arguments=%{Document:FileName}
|
||||||
|
category=Qt
|
||||||
|
cmdname=qml-preview
|
||||||
|
executable=qmlscene
|
||||||
|
mimetypes=text/x-qml
|
||||||
|
name=Qt Quick 2 Preview (qmlscene)
|
||||||
|
output=Ignore
|
||||||
|
reload=false
|
||||||
|
save=CurrentDocument
|
||||||
|
trigger=None
|
||||||
|
workingDir=%{Document:Path}
|
||||||
13
common/.config/kate/externaltools/Run%20Shell%20Script.ini
Normal file
13
common/.config/kate/externaltools/Run%20Shell%20Script.ini
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_RunShellScript
|
||||||
|
arguments=-e sh -c "cd %{Document:Path} && pwd && chmod -vc a+x %{Document:FileName} && ./%{Document:FileName} ; echo Press enter to continue. && read null"
|
||||||
|
category=Tools
|
||||||
|
cmdname=run-script
|
||||||
|
executable=konsole
|
||||||
|
icon=system-run
|
||||||
|
name=Run Shell Script
|
||||||
|
output=Ignore
|
||||||
|
reload=false
|
||||||
|
save=CurrentDocument
|
||||||
|
trigger=None
|
||||||
|
workingDir=%{Document:Path}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_RustFmt
|
||||||
|
arguments=%{Document:FileName}
|
||||||
|
category=Tools
|
||||||
|
cmdname=rustfmt-full-file
|
||||||
|
executable=rustfmt
|
||||||
|
icon=text-x-rust
|
||||||
|
mimetypes=text/x-rust
|
||||||
|
name=Rust Fmt Full File
|
||||||
|
output=Ignore
|
||||||
|
reload=true
|
||||||
|
save=CurrentDocument
|
||||||
|
trigger=None
|
||||||
|
workingDir=%{Document:Path}
|
||||||
12
common/.config/kate/externaltools/Search%20KDE%20API.ini
Normal file
12
common/.config/kate/externaltools/Search%20KDE%20API.ini
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_KDEAPI
|
||||||
|
arguments="https://api.kde.org/search.html?query=%{Document:Selection:Text}"
|
||||||
|
category=Tools
|
||||||
|
executable=xdg-open
|
||||||
|
icon=kde
|
||||||
|
name=Search KDE API
|
||||||
|
output=Ignore
|
||||||
|
reload=false
|
||||||
|
save=None
|
||||||
|
trigger=None
|
||||||
|
workingDir=%{Document:Path}
|
||||||
12
common/.config/kate/externaltools/Search%20Qt%20API.ini
Normal file
12
common/.config/kate/externaltools/Search%20Qt%20API.ini
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_QtAPI
|
||||||
|
arguments="https://doc.qt.io/qt-5/search-results.html?q=%{Document:Selection:Text}"
|
||||||
|
category=Tools
|
||||||
|
executable=xdg-open
|
||||||
|
icon=qtcreator
|
||||||
|
name=Search Qt API
|
||||||
|
output=Ignore
|
||||||
|
reload=false
|
||||||
|
save=None
|
||||||
|
trigger=None
|
||||||
|
workingDir=%{Document:Path}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_XMLFormatFullFile
|
||||||
|
arguments=--format "%{Document:FileName}"
|
||||||
|
category=Tools
|
||||||
|
cmdname=xml-format-file
|
||||||
|
executable=xmllint
|
||||||
|
icon=application-xml
|
||||||
|
name=XML Format Full File
|
||||||
|
output=ReplaceCurrentDocument
|
||||||
|
reload=false
|
||||||
|
save=CurrentDocument
|
||||||
|
trigger=None
|
||||||
|
workingDir=%{Document:Path}
|
||||||
12
common/.config/kate/externaltools/git%20blame.ini
Normal file
12
common/.config/kate/externaltools/git%20blame.ini
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_gitblame
|
||||||
|
arguments=gui blame --line=%{Document:Cursor:Line} %{Document:FileName}
|
||||||
|
category=Git
|
||||||
|
cmdname=git-blame
|
||||||
|
executable=git
|
||||||
|
name=git blame
|
||||||
|
output=Ignore
|
||||||
|
reload=false
|
||||||
|
save=CurrentDocument
|
||||||
|
trigger=None
|
||||||
|
workingDir=%{Document:Path}
|
||||||
12
common/.config/kate/externaltools/git-cola.ini
Normal file
12
common/.config/kate/externaltools/git-cola.ini
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_gitcola
|
||||||
|
arguments=-r %{Document:Path}
|
||||||
|
category=Git
|
||||||
|
cmdname=git-cola
|
||||||
|
executable=git-cola
|
||||||
|
icon=git-cola
|
||||||
|
name=git-cola
|
||||||
|
output=Ignore
|
||||||
|
reload=false
|
||||||
|
save=None
|
||||||
|
trigger=None
|
||||||
12
common/.config/kate/externaltools/gitk.ini
Normal file
12
common/.config/kate/externaltools/gitk.ini
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[General]
|
||||||
|
actionName=externaltool_gitk
|
||||||
|
category=Git
|
||||||
|
cmdname=gitk
|
||||||
|
executable=gitk
|
||||||
|
icon=git-gui
|
||||||
|
name=gitk
|
||||||
|
output=Ignore
|
||||||
|
reload=false
|
||||||
|
save=None
|
||||||
|
trigger=None
|
||||||
|
workingDir=%{Document:Path}
|
||||||
0
common/.config/kate/formatting/settings.json
Normal file
0
common/.config/kate/formatting/settings.json
Normal file
0
common/.config/kate/lspclient/settings.json
Normal file
0
common/.config/kate/lspclient/settings.json
Normal file
@@ -1,13 +1,14 @@
|
|||||||
[ActivityManager]
|
[ActivityManager]
|
||||||
_k_friendly_name=Activity Manager
|
_k_friendly_name=Activity Manager
|
||||||
switch-to-activity-252e9f66-21d0-4196-8af8-9f144dae5052=Meta+F3,none,Switch to activity "3 - Email"
|
switch-to-activity-252e9f66-21d0-4196-8af8-9f144dae5052=Meta+F3,none,Switch to activity "3 - Email"
|
||||||
|
switch-to-activity-79bc8b93-e5e1-4149-8ed2-4222a14f199f=none,none,Switch to activity "Default"
|
||||||
switch-to-activity-a397c46b-22b0-442b-88bc-9f21a3b18fae=Meta+F2,none,Switch to activity "2 - Code"
|
switch-to-activity-a397c46b-22b0-442b-88bc-9f21a3b18fae=Meta+F2,none,Switch to activity "2 - Code"
|
||||||
switch-to-activity-fe100d1b-ab30-493d-9635-bce7284a67b9=Meta+F1,none,Switch to activity "1 - Default"
|
switch-to-activity-fe100d1b-ab30-493d-9635-bce7284a67b9=Meta+F1,none,Switch to activity "1 - Default"
|
||||||
|
|
||||||
[KDE Keyboard Layout Switcher]
|
[KDE Keyboard Layout Switcher]
|
||||||
Switch keyboard layout to English (India, with rupee)=none,none,Switch keyboard layout to English (India\\, with rupee)
|
Switch keyboard layout to English (India, with rupee)=none,none,Switch keyboard layout to English (India\\, with rupee)
|
||||||
Switch to Last-Used Keyboard Layout=Meta+Alt+L,Meta+Alt+L,Switch to Last-Used Keyboard Layout
|
Switch to Last-Used Keyboard Layout=Meta+Alt+L,Meta+Alt+L,Switch to Last-Used Keyboard Layout
|
||||||
Switch to Next Keyboard Layout=none,Meta+Alt+K,Switch to Next Keyboard Layout
|
Switch to Next Keyboard Layout=,Meta+Alt+K,Switch to Next Keyboard Layout
|
||||||
_k_friendly_name=Keyboard Layout Switcher
|
_k_friendly_name=Keyboard Layout Switcher
|
||||||
|
|
||||||
[kaccess]
|
[kaccess]
|
||||||
@@ -17,7 +18,7 @@ _k_friendly_name=Accessibility
|
|||||||
[kcm_touchpad]
|
[kcm_touchpad]
|
||||||
Disable Touchpad=Touchpad Off,Touchpad Off,Disable Touchpad
|
Disable Touchpad=Touchpad Off,Touchpad Off,Disable Touchpad
|
||||||
Enable Touchpad=Touchpad On,Touchpad On,Enable Touchpad
|
Enable Touchpad=Touchpad On,Touchpad On,Enable Touchpad
|
||||||
Toggle Touchpad=Touchpad Toggle,Touchpad Toggle,Toggle Touchpad
|
Toggle Touchpad=Touchpad Toggle,Touchpad Toggle\tMeta+Ctrl+Zenkaku Hankaku,Toggle Touchpad
|
||||||
_k_friendly_name=Touchpad
|
_k_friendly_name=Touchpad
|
||||||
|
|
||||||
[khotkeys]
|
[khotkeys]
|
||||||
@@ -365,6 +366,7 @@ activate task manager entry 9=Meta+9,Meta+9,Activate Task Manager Entry 9
|
|||||||
activate widget 10=Meta+Alt+V,none,Activate Vaults Widget
|
activate widget 10=Meta+Alt+V,none,Activate Vaults Widget
|
||||||
activate widget 106=none,none,Activate Pager Widget
|
activate widget 106=none,none,Activate Pager Widget
|
||||||
activate widget 107=Alt+F1,none,Activate Application Launcher Widget
|
activate widget 107=Alt+F1,none,Activate Application Launcher Widget
|
||||||
|
activate widget 31=,none,Activate Icons-and-Text Task Manager Widget
|
||||||
activate widget 72=none,none,Activate Total CPU Use Widget
|
activate widget 72=none,none,Activate Total CPU Use Widget
|
||||||
activate widget 76=none,none,Activate ChatGPT Plasmoid Widget
|
activate widget 76=none,none,Activate ChatGPT Plasmoid Widget
|
||||||
activate widget 95=none,none,Activate Task Manager Widget
|
activate widget 95=none,none,Activate Task Manager Widget
|
||||||
|
|||||||
Reference in New Issue
Block a user