first commit
This commit is contained in:
commit
c6cc2d3f9d
17
.gitignore
vendored
Normal file
17
.gitignore
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
geany/
|
||||
geany/.config/geany/geany.conf
|
||||
geany/.config/geany/filedefs/filetypes.README
|
||||
geany/.config/geany/keybindings.conf
|
||||
geany/.config/geany/templates/templates.README
|
||||
|
||||
tools/.bin/
|
||||
tools/.local/bin/virtualenv
|
||||
|
||||
neovim/.config/nvim/env/
|
||||
|
||||
composer/.config/composer/vendor/
|
||||
composer/.config/composer/.htaccess
|
||||
composer/.config/composer/composer.lock
|
||||
|
||||
tools/.local/bin/hie*
|
||||
tools/.local/bin/yapf
|
19
LICENSE.md
Normal file
19
LICENSE.md
Normal file
@ -0,0 +1,19 @@
|
||||
MIT License
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
314
README.md
Normal file
314
README.md
Normal file
@ -0,0 +1,314 @@
|
||||
Dotfiles
|
||||
========
|
||||
|
||||
This is my collection of [configuration files](http://dotfiles.github.io/).
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
Pull the repository, and then create the symbolic links [using GNU
|
||||
stow](https://alexpearce.me/2016/02/managing-dotfiles-with-stow/).
|
||||
|
||||
```bash
|
||||
$ git clone https://github.com/diogogithub/.dotfiles.git ~/.dotfiles
|
||||
$ cd ~/.dotfiles
|
||||
$ stow tools templates composer feh geany ghc git i3 mariadbcli pgsqlcli ranger terminfo theme xorg-server zathura # plus whatever else you'd like
|
||||
```
|
||||
Applications
|
||||
------------
|
||||
|
||||
**OS**: Debian
|
||||
**Desktop Environment**: XFCE
|
||||
**WM**: i3
|
||||
**LockScreen**: light-lock
|
||||
**Launcher**: Rofi
|
||||
**Browser**: Firefox
|
||||
**Development Environment**: Neovim
|
||||
**Document Viewer**: Atril
|
||||
**File Manager**: PCManFM
|
||||
**Music**: pragha
|
||||
**Video**: totem
|
||||
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
[MIT](http://opensource.org/licenses/MIT).
|
||||
|
||||
## Installing
|
||||
|
||||
### Download
|
||||
|
||||
Download the XFCE CD1 from: https://cdimage.debian.org/debian-cd/current/amd64/iso-cd
|
||||
|
||||
### Repositories Keys
|
||||
|
||||
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
|
||||
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
|
||||
wget -O- https://jgeboski.github.io/obs.key | sudo apt-key add -
|
||||
wget -O- http://apt.metasploit.com/metasploit-framework.gpg.key | sudo apt-key add -
|
||||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 60EE47FBAD3DD469
|
||||
wget --quiet -O - https://insomnia.rest/keys/debian-public.key.asc | sudo apt-key add -
|
||||
|
||||
|
||||
### USB flash installation media
|
||||
|
||||
dd if=debian-9.2.1-amd64-xfce-CD-1.iso of=/dev/sdb bs=4M
|
||||
|
||||
### Software selection
|
||||
|
||||
Select:
|
||||
|
||||
* print server
|
||||
* standard system utilities
|
||||
* XFCE
|
||||
|
||||
## Setting the repositories
|
||||
|
||||
apt install aptitude
|
||||
aptitude install debian-archive-keyring
|
||||
aptitude install synaptic apt-xapian-index gdebi
|
||||
|
||||
## SUDO
|
||||
|
||||
### Install sudo
|
||||
aptitude install sudo gksu
|
||||
|
||||
### Add Administrator to sudoers
|
||||
adduser {username} sudo
|
||||
|
||||
## Hardware
|
||||
|
||||
### Firmware
|
||||
aptitude install firmware-linux intel-microcode amd64-microcode initramfs-tools firmware-amd-graphics
|
||||
aptitude install inotify-tools inotify-hookable sassc
|
||||
dpkg --add-architecture i386
|
||||
|
||||
### Wifi
|
||||
|
||||
aptitude install firmware-realtek firmware-iwlwifi
|
||||
|
||||
### Battery and Overheating
|
||||
|
||||
* tlp
|
||||
* tlp-rdw
|
||||
* thermald
|
||||
* cpufreqd
|
||||
|
||||
`sudo aptitude install tlp tlp-rdw thermald cpufreqd`
|
||||
|
||||
> For thinkpads only: `sudo aptitude install tp-smapi-dkms acpi-call-dkms`
|
||||
|
||||
### Hardware sensors
|
||||
|
||||
* lm-sensors
|
||||
* hddtemp
|
||||
* psensor
|
||||
* i7z
|
||||
* cpupower
|
||||
|
||||
`sudo aptitude install lm-sensors hddtemp psensor`
|
||||
|
||||
### Disable bluetooth auto power-on
|
||||
|
||||
Blueman automatically enables Bluetooth adapter when certain events (on boot, laptop lid is opened, ...) occur. This can be disabled with the auto-power-on in org.blueman.plugins.powermanager:
|
||||
|
||||
sudo gsettings set org.blueman.plugins.powermanager auto-power-on false
|
||||
|
||||
### Network
|
||||
|
||||
Proper network manager with VPN support
|
||||
|
||||
* curl
|
||||
* network-manager
|
||||
* network-manager-gnome
|
||||
* network-manager-openvpn
|
||||
* network-manager-vpnc
|
||||
* network-manager-vpnc-gnome
|
||||
* network-manager-pptp
|
||||
* network-manager-pptp-gnome
|
||||
* network-manager-openvpn
|
||||
* network-manager-openvpn-gnome
|
||||
* pptpd
|
||||
* ppp
|
||||
* pptp-linux
|
||||
|
||||
`sudo aptitude install curl network-manager network-manager-gnome network-manager-openvpn network-manager-vpnc network-manager-vpnc-gnome network-manager-pptp network-manager-pptp-gnome network-manager-openvpn network-manager-openvpn-gnome pptpd ppp pptp-linux`
|
||||
|
||||
### Storage
|
||||
|
||||
* gnome-disks
|
||||
* gparted
|
||||
|
||||
`sudo aptitude install gnome-disks gparted`
|
||||
|
||||
## Shell
|
||||
|
||||
* `sudo aptitude install kitty ripgrep zsh shellcheck`
|
||||
* `stow kitty shell tmux`
|
||||
|
||||
* `chsh -s $(which zsh)`
|
||||
* `sudo update-alternatives --config x-terminal-emulator`
|
||||
|
||||
## Appearance
|
||||
|
||||
### Utilities
|
||||
|
||||
* lxappearance
|
||||
* xsettingsd
|
||||
* nitrogen
|
||||
|
||||
### Theme
|
||||
|
||||
* numix-gtk-theme
|
||||
* numix-icon-theme
|
||||
|
||||
|
||||
`sudo aptitude install numix-gtk-theme numix-icon-theme`
|
||||
|
||||
### Fonts
|
||||
|
||||
* ttf-mscorefonts-installer
|
||||
* ttf-dejavu
|
||||
* fonts-hack-ttf
|
||||
* fonts-font-awesome
|
||||
* fonts-open-sans
|
||||
* fonts-paratype
|
||||
|
||||
`sudo aptitude install ttf-mscorefonts-installer ttf-dejavu fonts-hack-ttf fonts-font-awesome fonts-open-sans fonts-paratype`
|
||||
|
||||
#### Install Microsoft Tahoma, Segoe UI, and other fonts
|
||||
|
||||
mkdir ~/.fonts
|
||||
wget -qO- http://plasmasturm.org/code/vistafonts-installer/vistafonts-installer | bash
|
||||
|
||||
### Spotlight (unused)
|
||||
|
||||
[Diogo's spotlight script](https://git.gnu.io/snippets/107)
|
||||
|
||||
### i3
|
||||
|
||||
* [i3](https://blog.diogo.site/posts/i3wm)
|
||||
* suckless-tools
|
||||
* i3blocks
|
||||
* [XBright](https://github.com/snobb/xbright)
|
||||
* [morc_menu](https://github.com/Boruch-Baum/morc_menu)
|
||||
* ranger
|
||||
* light-locker
|
||||
* dconf-editor
|
||||
* xdotool
|
||||
|
||||
* `sudo aptitude install i3 j4-dmenu-desktop suckless-tools i3blocks ranger nitrogen light-locker xdotool`
|
||||
|
||||
#### Notifications
|
||||
|
||||
* xfce4-notifyd
|
||||
|
||||
`sudo aptitude install xfce4-notifyd`
|
||||
|
||||
## System
|
||||
|
||||
### Power Manager
|
||||
|
||||
* xfce4-power-manager
|
||||
|
||||
`sudo aptitude install xfce4-power-manager`
|
||||
|
||||
### SECURITY (FIREWALL AND ANTI-VIRUS)
|
||||
|
||||
sudo aptitude install ufw gufw clamav clamtk
|
||||
sudo ufw default deny
|
||||
sudo ufw enable
|
||||
|
||||
### Updates notifier
|
||||
|
||||
* pk-update-icon
|
||||
* apt-config-auto-update
|
||||
|
||||
`sudo aptitude install pk-update-icon apt-config-auto-update`
|
||||
|
||||
### Wine
|
||||
|
||||
`sudo aptitude -t stretch-backports install wine`
|
||||
|
||||
## General Software
|
||||
|
||||
### Multimedia
|
||||
|
||||
* pavucontrol
|
||||
* libavcodec-extra
|
||||
* clementine
|
||||
* gimp
|
||||
* totem
|
||||
* handbrake
|
||||
* kdenlive
|
||||
* audacity
|
||||
* krita
|
||||
* blender
|
||||
* freecad
|
||||
* openscad
|
||||
|
||||
`sudo aptitude install pavucontrol libavcodec-extra clementine gimp totem handbrake kdenlive audacity cmus`
|
||||
|
||||
### Utilities
|
||||
|
||||
* tmux
|
||||
* parcellite
|
||||
* qalculate
|
||||
* gparted
|
||||
* simplescreenrecorder
|
||||
* kde-spectacle
|
||||
* gthumb
|
||||
* feh
|
||||
* engrampa
|
||||
* arandr
|
||||
* redshift-gtk
|
||||
* seahorse
|
||||
|
||||
`sudo aptitude install tmux parcellite qalculate gparted libreoffice simplescreenrecorder kde-spectacle gthumb engrampa arandr redshift-gtk seahorse`
|
||||
|
||||
### Programming
|
||||
|
||||
* geany with [Darcula colorscheme](https://raw.githubusercontent.com/codebrainz/geany-themes/master/colorschemes/darcula.conf)
|
||||
* git
|
||||
|
||||
`sudo aptitude install geany git`
|
||||
|
||||
#### Neovim
|
||||
|
||||
* `sudo aptitude purge vim-tiny`
|
||||
* `sudo aptitude install neovim`
|
||||
* `stow neovim tags-settings python javascript ruby`
|
||||
* `~/.config/nvim/installer/install.sh`
|
||||
|
||||
### Internet
|
||||
|
||||
* `sudo aptitude install deluge firefox`
|
||||
|
||||
#### Chatting
|
||||
|
||||
* [hexchat](https://hexchat.readthedocs.io/en/latest/building.html#unix) (with [Monokai](https://hexchat.github.io/themes.html) theme)
|
||||
* `sudo aptitude install pidgin`
|
||||
|
||||
#### KDE CONNECT
|
||||
|
||||
sudo aptitude install kdeconnect
|
||||
sudo ufw allow 1714:1764/udp
|
||||
sudo ufw allow 1714:1764/tcp
|
||||
sudo ufw reload
|
||||
|
||||
### Math
|
||||
|
||||
* bc
|
||||
* SageMath
|
||||
* GNUPlot
|
||||
* jupyter-notebook
|
||||
|
||||
`sudo aptitude install bc sagemath gnuplot python3-dev python3-pip jupyter-notebook`
|
||||
|
||||
### Office
|
||||
|
||||
* atril
|
||||
* libreoffice
|
||||
|
||||
`sudo aptitude install atril libreoffice zathura`
|
10
autostart/.config/autostart/Nextcloud.desktop
Normal file
10
autostart/.config/autostart/Nextcloud.desktop
Normal file
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Name=Nextcloud
|
||||
GenericName=File Synchronizer
|
||||
Exec=/usr/bin/nextcloud
|
||||
Terminal=false
|
||||
Icon=nextcloud
|
||||
Categories=Network
|
||||
Type=Application
|
||||
StartupNotify=false
|
||||
X-GNOME-Autostart-enabled=true
|
9
autostart/.config/autostart/at-spi-dbus-bus.desktop
Normal file
9
autostart/.config/autostart/at-spi-dbus-bus.desktop
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=AT-SPI D-Bus Bus
|
||||
Exec=/usr/lib/at-spi2/at-spi-bus-launcher --launch-immediately
|
||||
OnlyShowIn=GNOME;Unity;
|
||||
NoDisplay=true
|
||||
AutostartCondition=GSETTINGS org.gnome.desktop.interface toolkit-accessibility
|
||||
X-GNOME-AutoRestart=true
|
||||
X-GNOME-Autostart-Phase=Initialization
|
12
autostart/.config/autostart/blueberry-obex-agent.desktop
Normal file
12
autostart/.config/autostart/blueberry-obex-agent.desktop
Normal file
@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Name=Bluetooth OBEX Agent
|
||||
Comment=Allows to receive files via Bluetooth
|
||||
Keywords=files;bluetooth;obex;receive;
|
||||
Icon=blueberry
|
||||
Exec=/usr/lib/blueberry/blueberry-obex-agent.py
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=GTK;GNOME;Settings;X-GNOME-NetworkSettings;
|
||||
StartupNotify=false
|
||||
NoDisplay=true
|
||||
NotShowIn=GNOME;KDE;Unity;
|
13
autostart/.config/autostart/blueberry-tray.desktop
Normal file
13
autostart/.config/autostart/blueberry-tray.desktop
Normal file
@ -0,0 +1,13 @@
|
||||
[Desktop Entry]
|
||||
|
||||
Name=blueberry
|
||||
Comment=Blueberry tray icon
|
||||
Exec=blueberry-tray
|
||||
AutostartCondition=GSettings org.blueberry tray-enabled
|
||||
X-GNOME-Autostart-Delay=5
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=GTK;GNOME;Settings;X-GNOME-NetworkSettings;
|
||||
StartupNotify=false
|
||||
NoDisplay=true
|
||||
NotShowIn=GNOME;KDE;Unity;
|
10
autostart/.config/autostart/geoclue-demo-agent.desktop
Normal file
10
autostart/.config/autostart/geoclue-demo-agent.desktop
Normal file
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Name=Geoclue Demo agent
|
||||
GenericName=Demo geoclue agent
|
||||
Keywords=geolocation;
|
||||
Exec=/usr/lib/geoclue-2.0/demos/agent
|
||||
Icon=mark-location-symbolic
|
||||
NotShowIn=GNOME;
|
||||
NoDisplay=true
|
||||
Terminal=false
|
||||
Type=Application
|
159
autostart/.config/autostart/gnome-keyring-pkcs11.desktop
Normal file
159
autostart/.config/autostart/gnome-keyring-pkcs11.desktop
Normal file
@ -0,0 +1,159 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name[af]=Sertifikaat- en sleutelberging
|
||||
Name[ar]=مخزن الشهادات والمفاتيح
|
||||
Name[as]=প্ৰমাণপত্ৰ আৰু কি সংৰক্ষণ
|
||||
Name[ast]=Certificaos y almacenamientu de claves
|
||||
Name[be]=Сховішча сертыфікатаў і ключоў
|
||||
Name[bg]=Съхранение на сертификати и ключове
|
||||
Name[bn]=সার্টিফিকেট এবং কী স্টোরেজ
|
||||
Name[bn_IN]=সার্টিফিকেট এবং কি সংগ্রহস্থল
|
||||
Name[bs]=Skladište sertifikata i ključeva
|
||||
Name[ca]=Magatzem de certificats i de claus
|
||||
Name[ca@valencia]=Magatzem de certificats i de claus
|
||||
Name[cs]=Odemknout certifikáty a umístění klíčů
|
||||
Name[da]=Certifikat- og nøglelager
|
||||
Name[de]=Zertifikat-/Schlüsselverwahrung
|
||||
Name[el]=Αποθήκη πιστοποιητικών και κλειδιών
|
||||
Name[en_GB]=Certificate and Key Storage
|
||||
Name[eo]=Memorejo de atestiloj kaj ŝlosiloj
|
||||
Name[es]=Certificados y almacenamiento de claves
|
||||
Name[et]=Sertifikaadi- ja võtmehoidla
|
||||
Name[eu]=Ziurtagirien/gakoen biltegia
|
||||
Name[fa]=مخزن کلید و گواهینامه
|
||||
Name[fi]=Varmenne- ja avainsäilö
|
||||
Name[fr]=Stockage de certificats et de clés
|
||||
Name[fur]=Archivi certificâts e clâfs
|
||||
Name[gd]=Teisteanas agus stòras na h-iuchrach
|
||||
Name[gl]=Almacenamento de chave ou certificado
|
||||
Name[gu]=પ્રમાણપત્ર અને કી સંગ્રહ
|
||||
Name[he]=אחסון תעודה ומפתח
|
||||
Name[hi]=कुंजी भंडार प्रमाणित करें
|
||||
Name[hr]=Vjerodajnice i spremište ključeva
|
||||
Name[hu]=Tanúsítvány- és kulcstároló
|
||||
Name[id]=Penyimpanan Kunci dan Sertifikat
|
||||
Name[is]=Geymsla skilríkis og lykils
|
||||
Name[it]=Archivio certificati e chiavi
|
||||
Name[ja]=証明書および鍵を格納するストレージ
|
||||
Name[kk]=Сертификаттар және кілттер қоймасы
|
||||
Name[km]=វិញ្ញាបនបត្រ និងការផ្ទុកសោ
|
||||
Name[kn]=ಪ್ರಮಾಣಪತ್ರ ಮತ್ತು ಕೀಲಿಯ ಶೇಖರಣೆ
|
||||
Name[ko]=인증서 및 키 저장소
|
||||
Name[lt]=Liudijimų ir raktų saugykla
|
||||
Name[lv]=Sertifikātu un atslēgu glabātava
|
||||
Name[mjw]=Certificate pen Key Storage
|
||||
Name[mk]=Склад на клучеви и сертификати
|
||||
Name[ml]=സാക്ഷ്യപത്രവും കീ സംഭരണവും
|
||||
Name[mr]=प्रमाणपत्र व कि स्टोरेज
|
||||
Name[ms]=Sijil dan Penyimpanan Kekunci
|
||||
Name[nb]=Lager for sertifikat/nøkkel
|
||||
Name[nl]=Certificaat- en sleutelopslag
|
||||
Name[nn]=Serifikat- og nøkkellager
|
||||
Name[oc]=Emmagazinatge de certificats e de claus
|
||||
Name[or]=ପ୍ରମାଣପତ୍ର ଏବଂ କି ସଂରକ୍ଷଣ
|
||||
Name[pa]=ਸਰਟੀਫਿਕੇਟ ਅਤੇ ਕੁੰਜੀ ਸਟੋਰੇਜ਼
|
||||
Name[pl]=Przechowalnia certyfikatów i kluczy
|
||||
Name[pt]=Armazenamento de chaves e certificados
|
||||
Name[pt_BR]=Certificados e armazenamento de chaves
|
||||
Name[ro]=Stocare pentru certificate și chei
|
||||
Name[ru]=Хранилище сертификатов и ключей
|
||||
Name[sk]=Úložisko certifikátov a kľúčov
|
||||
Name[sl]=Hranjenje potrdil in ključev
|
||||
Name[sr]=Складиште сертификата и кључева
|
||||
Name[sr@latin]=Skladište sertifikata i ključeva
|
||||
Name[sv]=Certifikat och nyckellagring
|
||||
Name[ta]=சான்றிதழ்/விசை சேமிப்பகம்
|
||||
Name[te]=ధృవీకరణపత్రం మరియు కీ నిల్వ
|
||||
Name[th]=แหล่งใบรับรองและกุญแจ
|
||||
Name[tr]=Sertifika ve Anahtar Deposu
|
||||
Name[ug]=گۇۋاھنامە ۋە شىفىرلىق ئاچقۇچ ئامبىرى
|
||||
Name[uk]=Сертифікат та сховище ключів
|
||||
Name[vi]=Lưu trữ Chứng nhận và khóa
|
||||
Name[zh_CN]=证书和密钥存储
|
||||
Name[zh_HK]=證書與密碼匙儲存區
|
||||
Name[zh_TW]=憑證與金鑰儲存區
|
||||
Name=Certificate and Key Storage
|
||||
Comment[af]=GNOME-sleutelring: PKCS#11-komponent
|
||||
Comment[ar]=حلقة مفاتيح جنوم: مكون PKCS#11
|
||||
Comment[as]=GNOME Keyring: PKCS#11 উপাদান
|
||||
Comment[ast]=Depósitu de claves de GNOME: Componente PKCS#11
|
||||
Comment[be]=Вязкі ключоў GNOME: кампанент PKCS#11
|
||||
Comment[bg]=Ключодържател на GNOME: компонент за PKCS#11
|
||||
Comment[bn]=GNOME কী রিং: PKCS#11 কম্পোনেন্ট
|
||||
Comment[bn_IN]=GNOME Keyring: PKCS#11 উপাদান
|
||||
Comment[bs]=Gnomovi privjesci: PKCS#11 komponenta
|
||||
Comment[ca]=Anell de claus del GNOME: component PKCS#11
|
||||
Comment[ca@valencia]=Anell de claus del GNOME: component PKCS#11
|
||||
Comment[cs]=Klíčenka GNOME: komponenta PKCS#11
|
||||
Comment[da]=GNOME-nøgleringsdæmon: PKCS#11-komponent
|
||||
Comment[de]=GNOME-Schlüsselbunddienst: PKCS#11-Komponente
|
||||
Comment[el]=Κλειδοθήκη GNOME: Συστατικό στοιχείο PKCS#11
|
||||
Comment[en_GB]=GNOME Keyring: PKCS#11 Component
|
||||
Comment[eo]=GNOME Ŝlosilaro: PKCS#11 ero
|
||||
Comment[es]=Depósito de claves de GNOME: Componente PKCS#11
|
||||
Comment[et]=GNOME võtmerõngas: PKCS#11 komponent
|
||||
Comment[eu]=GNOMEren gako-sorta: PKCS#11 osagaia
|
||||
Comment[fa]=دستهکلید گنوم: عناصر PKCS#11
|
||||
Comment[fi]=Gnomen avainnippu: PKCS#11-komponentti
|
||||
Comment[fr]=Trousseau de clés de GNOME : composant PKCS#11
|
||||
Comment[fur]=Puarteclâfs di GNOME: component PKCS#11
|
||||
Comment[gd]=Dul-iuchrach GNOME: Co-phàirt PKCS#11
|
||||
Comment[gl]=GNOME Keyring: compoñente PKCS#11
|
||||
Comment[gu]=GNOME કીરીંગ: PKCS#11 ઘટક
|
||||
Comment[he]=קבוצת מפתחות של GNOME:רכיב PKCS#11
|
||||
Comment[hi]=गनोम कीरिंग: PKCS#11 घटक
|
||||
Comment[hr]=GNOME skup ključeva: PKCS#11 komponena
|
||||
Comment[hu]=GNOME kulcstartó – PKCS#11 összetevő
|
||||
Comment[id]=GNOME Keyring: Komponen PKCS#11
|
||||
Comment[it]=Portachiavi di GNOME: componente PKCS#11
|
||||
Comment[ja]=GNOME キーリング: PKCS#11 コンポーネント
|
||||
Comment[kk]=GNOME Keyring: PKCS#11 құрамасы
|
||||
Comment[km]=GNOME Keyring ៖ សមាសភាគ PKCS#11
|
||||
Comment[kn]=GNOME ಕೀಲಿಗೊಂಚಲು: PKCS#11 ಘಟಕ
|
||||
Comment[ko]=그놈 키 모음: PKCS#11 컴포넌트
|
||||
Comment[lt]=GNOME raktinė: PKCS#11 komponentas
|
||||
Comment[lv]=GNOME atslēgu saišķis — PKCS#11 komponente
|
||||
Comment[mjw]=GNOME Keyring: PKCS#11 Component
|
||||
Comment[mk]=Приврзок на GNOME: PKCS#11 компонента
|
||||
Comment[ml]=ഗ്നോം കീറിങ്: PKCS#11 ഘടകം
|
||||
Comment[mr]=GNOME किरिंग: PKCS#11 घटक
|
||||
Comment[ms]=GNOME Keyring: Komponen PKCS#11
|
||||
Comment[nb]=GNOME nøkkelring: PKCS#11-komponent
|
||||
Comment[nl]=Sleutelbos-service: PKCS#11-component
|
||||
Comment[nn]=GNOME Nøkkelring: PKCS#11-komponent
|
||||
Comment[oc]=Trossèl de claus GNOME : component PKCS#11
|
||||
Comment[or]=GNOME କି ରିଙ୍ଗ: PKCS#11 ଉପାଦାନ
|
||||
Comment[pa]=ਗਨੋਮ ਕੀਰਿੰਗ: PKCS#11 ਭਾਗ
|
||||
Comment[pl]=Baza kluczy dla środowiska GNOME: składnik PKCS#11
|
||||
Comment[pt]=GNOME Keyring: componente PKCS#11
|
||||
Comment[pt_BR]=Chaveiro do GNOME: Componente PKCS#11
|
||||
Comment[ro]=Inelul de chei GNOME: Componenta PKCS#11
|
||||
Comment[ru]=Связка ключей GNOME: компонент PKCS#11
|
||||
Comment[sk]=Modul PKCS#11 zväzku kľúčov GNOME
|
||||
Comment[sl]=Zbirka ključev GNOME: enota PKCS#11
|
||||
Comment[sr]=Гномови привесци: ПКЦС#11 компонента
|
||||
Comment[sr@latin]=Gnomovi privesci: PKCS#11 komponenta
|
||||
Comment[sv]=GNOME-nyckelring: PKCS#11-komponent
|
||||
Comment[ta]=GNOME கீரிங்: PKCS#11 கூறு
|
||||
Comment[te]=GNOME కీరింగ్: PKCS#11 అంశం
|
||||
Comment[th]=พวงกุญแจของ GNOME: องค์ประกอบ PKCS#11
|
||||
Comment[tr]=GNOME Anahtarlığı: PKCS#11 Bileşeni
|
||||
Comment[ug]=گىنوم ئاچقۇچ ھالقىسى:PKCS#11 دېتالى
|
||||
Comment[uk]=Служба в'язки ключів GNOME: компонент PKCS#11
|
||||
Comment[vi]=Chùm chìa khóa GNOME: thành phần PKCS#11
|
||||
Comment[zh_CN]=GNOME 密钥环:PKCS#11 组件
|
||||
Comment[zh_HK]=GNOME 密碼匙圈:PKCS#11 元件
|
||||
Comment[zh_TW]=GNOME 鑰匙圈:PKCS#11 元件
|
||||
Comment=GNOME Keyring: PKCS#11 Component
|
||||
Exec=/usr/bin/gnome-keyring-daemon --start --components=pkcs11
|
||||
OnlyShowIn=GNOME;Unity;MATE;XFCE;
|
||||
NoDisplay=true
|
||||
X-GNOME-Autostart-Phase=PreDisplayServer
|
||||
X-GNOME-AutoRestart=false
|
||||
X-GNOME-Autostart-Notify=true
|
||||
X-GNOME-Bugzilla-Bugzilla=GNOME
|
||||
X-GNOME-Bugzilla-Product=gnome-keyring
|
||||
X-GNOME-Bugzilla-Component=general
|
||||
X-GNOME-Bugzilla-Version=3.34.0
|
||||
X-Desktop-File-Install-Version=0.23
|
||||
|
159
autostart/.config/autostart/gnome-keyring-secrets.desktop
Normal file
159
autostart/.config/autostart/gnome-keyring-secrets.desktop
Normal file
@ -0,0 +1,159 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name[af]=Geheimbergingsdiens
|
||||
Name[ar]=خدمة حفظ سرية
|
||||
Name[as]=গুপ্ত সংৰক্ষণ সেৱা
|
||||
Name[ast]=Serviciu d'almacenamientu de secretos
|
||||
Name[be]=Служба сховішча для сакрэтаў
|
||||
Name[bg]=Услуга за шифриран носител
|
||||
Name[bn]=গোপন সংরক্ষণ সম্পর্কিত সার্ভিস
|
||||
Name[bn_IN]=গোপন সংগ্রহস্থল পরিষেবা
|
||||
Name[bs]=Servis sa tajno skladištenje
|
||||
Name[ca]=Servei d'emmagatzematge de secrets
|
||||
Name[ca@valencia]=Servei d'emmagatzematge de secrets
|
||||
Name[cs]=Služba utajení dat
|
||||
Name[da]=Secret Storage Service
|
||||
Name[de]=Sicherheitsdienst
|
||||
Name[el]=Υπηρεσία κρυφής αποθήκευσης
|
||||
Name[en_GB]=Secret Storage Service
|
||||
Name[eo]=Servo pri sekreta memorejo
|
||||
Name[es]=Servicio de almacenamiento de secretos
|
||||
Name[et]=Saladuste hoidmise teenus
|
||||
Name[eu]=Ezkutuko biltegiaren zerbitzua
|
||||
Name[fa]=خدمت مخزن محرمانه
|
||||
Name[fi]=Salaisuuksien säilöntäpalvelu
|
||||
Name[fr]=Service de stockage secret
|
||||
Name[fur]=Servizi archivi segret
|
||||
Name[gd]=Seirbheis stòrais dhìomhair
|
||||
Name[gl]=Servizo de almacenamento segredo
|
||||
Name[gu]=ખાનગી સંગ્રહ સેવા
|
||||
Name[he]=שרות אחסון חשאי
|
||||
Name[hi]=गुप्त भंडार सेवा
|
||||
Name[hr]=Tajna usluga spremišta
|
||||
Name[hu]=Titoktároló szolgáltatás
|
||||
Name[id]=Layanan Penyimpanan Rahasia
|
||||
Name[it]=Servizio archivio segreto
|
||||
Name[ja]=シークレットストレージサービス
|
||||
Name[kk]=Құпия кілттер қоймасы қызметі
|
||||
Name[km]=សេវាផ្ទុកសម្ងាត់
|
||||
Name[kn]=ಸೀಕ್ರೆಟ್ ಶೇಖರಣಾ ಸೇವೆ
|
||||
Name[ko]=비밀 저장고 서비스
|
||||
Name[lt]=Slaptoji saugojimo tarnyba
|
||||
Name[lv]=Slepenās glabātavas serviss
|
||||
Name[mjw]=Secret Storage Service
|
||||
Name[mk]=Сервис за склад на тајни
|
||||
Name[ml]=രഹസ്യ സംഭരണ സേവനം
|
||||
Name[mr]=गोपणी स्टोरेज सर्व्हिस
|
||||
Name[ms]=Servis Rahsia Penyimpanan
|
||||
Name[nb]=Lagringstjeneste for hemmeligheter
|
||||
Name[nl]=Secret Storage Service
|
||||
Name[nn]=Hemmeleg lagerteneste
|
||||
Name[oc]=Servici d'emmagazinatge secret
|
||||
Name[or]=ଗୁପ୍ତ ସଂରକ୍ଷଣ ସର୍ଭିସ
|
||||
Name[pa]=ਗੁਪਤ ਸਟੋਰੇਜ਼ ਸਰਵਿਸ
|
||||
Name[pl]=Usługa przechowywania haseł
|
||||
Name[pt]=Serviço de armazenamento secreto
|
||||
Name[pt_BR]=Serviço de armazenamento secreto
|
||||
Name[ro]=Serviciul secret de stocare
|
||||
Name[ru]=Служба безопасного хранения
|
||||
Name[sk]=Služba utajeného úložiska
|
||||
Name[sl]=Shranjevanje skritih storitev
|
||||
Name[sr]=Сервис са тајно складиштење
|
||||
Name[sr@latin]=Servis sa tajno skladištenje
|
||||
Name[sv]=Lagringstjänst för hemligheter
|
||||
Name[ta]=\sரகசிய சேமிப்பு சேவை
|
||||
Name[te]=రహస్య నిల్వ సేవ
|
||||
Name[th]=บริการเก็บข้อมูลลับ
|
||||
Name[tr]=Gizli Depolama Hizmeti
|
||||
Name[ug]=مەخپىي ساقلاش مۇلازىمىتى
|
||||
Name[uk]=Служба шифрування дисків
|
||||
Name[vi]=Dịch vụ lưu trữ bảo mật
|
||||
Name[zh_CN]=保密存储服务
|
||||
Name[zh_HK]=保密儲存區服務
|
||||
Name[zh_TW]=保密儲存區服務
|
||||
Name=Secret Storage Service
|
||||
Comment[af]=GNOME-sleutelring: geheimdiens
|
||||
Comment[ar]=حلقة مفاتيح جنوم: خدمة سرية
|
||||
Comment[as]=GNOME Keyring: গুপ্ত সেৱা
|
||||
Comment[ast]=Depósitu de claves de GNOME: Serviciu de secretos
|
||||
Comment[be]=Вязкі ключоў GNOME: служба сакрэтаў
|
||||
Comment[bg]=Ключодържател на GNOME: услуга за тайни
|
||||
Comment[bn]=GNOME কী রিং: গোপন সার্ভিস
|
||||
Comment[bn_IN]=GNOME Keyring: গোপন পরিষেবা
|
||||
Comment[bs]=Gnomovi privjesci: servis za tajnost
|
||||
Comment[ca]=Anell de claus del GNOME: servei de secrets
|
||||
Comment[ca@valencia]=Anell de claus del GNOME: servei de secrets
|
||||
Comment[cs]=Klíčenka GNOME: Služba utajení dat
|
||||
Comment[da]=GNOME-nøglering: Secret Service
|
||||
Comment[de]=GNOME-Schlüsselbunddienst: Sicherheitsdienst
|
||||
Comment[el]=Κλειδοθήκη GNOME: Κρυφή υπηρεσία
|
||||
Comment[en_GB]=GNOME Keyring: Secret Service
|
||||
Comment[eo]=GNOME Ŝlosilaro: Sekreta servo
|
||||
Comment[es]=Depósito de claves de GNOME: Servicio de secretos
|
||||
Comment[et]=GNOME võtmerõngas: saladuste teenus
|
||||
Comment[eu]=GNOMEren gako-sorta: ezkutuko zerbitzua
|
||||
Comment[fa]=دستهکلید گنوم: خدمت محرمانه
|
||||
Comment[fi]=Gnomen avainnippu: Salainen palvelu
|
||||
Comment[fr]=Trousseau de clés de GNOME : service secret
|
||||
Comment[fur]=Puarteclâfs di GNOME: servizi segret
|
||||
Comment[gd]=Dul-iuchrach GNOME: Seirbheis dhìomhair
|
||||
Comment[gl]=GNOME Keyring: servizo segredo
|
||||
Comment[gu]=GNOME કીરીંગ: ખાનગી સેવા
|
||||
Comment[he]=קבוצת מפתחות של GNOME: שירות חשאי
|
||||
Comment[hi]=गनोम कीरिंग: गुप्त सेवा
|
||||
Comment[hr]=GNOME skup ključeva: Tajna usluga
|
||||
Comment[hu]=GNOME kulcstartó – titokszolgáltatás
|
||||
Comment[id]=GNOME Keyring: Layanan Rahasia
|
||||
Comment[it]=Portachiavi di GNOME: servizio segreto
|
||||
Comment[ja]=GNOME キーリング: シークレットサービス
|
||||
Comment[kk]=GNOME Keyring: Құпия кілттер қызметі
|
||||
Comment[km]=GNOME Keyring ៖ សេវាសម្ងាត់
|
||||
Comment[kn]=GNOME ಕೀಲಿಗೊಂಚಲು: ಸೀಕ್ರೆಟ್ ಸೇವೆ
|
||||
Comment[ko]=그놈 키 모음: 비밀 서비스
|
||||
Comment[lt]=GNOME raktinė: slaptoji tarnyba
|
||||
Comment[lv]=GNOME atslēgu saišķis — slepenais serviss
|
||||
Comment[mjw]=GNOME Keyring: Secret Service
|
||||
Comment[mk]=Приврзок на GNOME: таен сервис
|
||||
Comment[ml]=ഗ്നോം കീറിങ്: രഹസ്യ സേവനം
|
||||
Comment[mr]=GNOME किरिंग: गोपणीय सर्व्हिस
|
||||
Comment[ms]=GNOME Keyring: Servis Rahsia
|
||||
Comment[nb]=GNOME nøkkelring: Hemmelige tjenester
|
||||
Comment[ne]=जिनोम किरिङ : गुप्त सेवा
|
||||
Comment[nl]=Sleutelbos-service: Secret Service
|
||||
Comment[nn]=GNOME Nøkkelring: Hemmeleg teneste
|
||||
Comment[oc]=Trossèl de claus GNOME : servici secret
|
||||
Comment[or]=GNOME କି ରିଙ୍ଗ: ଗୁପ୍ତ ସଂରକ୍ଷଣ
|
||||
Comment[pa]=ਗਨੋਮ ਕੀਰਿੰਗ ਡੈਮਨ: ਗੁਪਤ ਸਰਵਿਸ
|
||||
Comment[pl]=Baza kluczy dla środowiska GNOME: usługa haseł
|
||||
Comment[pt]=GNOME Keyring: serviço secreto
|
||||
Comment[pt_BR]=Chaveiro do GNOME: Serviço secreto
|
||||
Comment[ro]=Inelul de chei GNOME: Serviciul secret
|
||||
Comment[ru]=Связка ключей GNOME: служба безопасности
|
||||
Comment[sk]=Služba utajenia zväzku kľúčov GNOME
|
||||
Comment[sl]=Zbirka ključev GNOME: skrite storitve
|
||||
Comment[sr]=Гномови привесци: сервис за тајност
|
||||
Comment[sr@latin]=Gnomovi privesci: servis za tajnost
|
||||
Comment[sv]=GNOME-nyckelring: Hemlighetstjänst
|
||||
Comment[ta]=GNOME கீரிங்: ரகசிய சேவை
|
||||
Comment[te]=GNOME కీరింగ్: రహస్య సేవ
|
||||
Comment[th]=พวงกุญแจของ GNOME: บริการเก็บข้อมูลลับ
|
||||
Comment[tr]=GNOME Anahtarlığı: Gizli Hizmet
|
||||
Comment[ug]=گىنوم ئاچقۇچ ھالقىسى:مەخپىيەت مۇلازىمىتى
|
||||
Comment[uk]=Служба в'язки ключів GNOME: служба шифрування
|
||||
Comment[vi]=Chùm chìa khóa GNOME: dịch vụ bảo mật
|
||||
Comment[zh_CN]=GNOME 密钥环:保密服务
|
||||
Comment[zh_HK]=GNOME 密碼匙圈:保密服務
|
||||
Comment[zh_TW]=GNOME 鑰匙圈:保密服務
|
||||
Comment=GNOME Keyring: Secret Service
|
||||
Exec=/usr/bin/gnome-keyring-daemon --start --components=secrets
|
||||
OnlyShowIn=GNOME;Unity;MATE;XFCE;
|
||||
NoDisplay=true
|
||||
X-GNOME-Autostart-Phase=PreDisplayServer
|
||||
X-GNOME-AutoRestart=false
|
||||
X-GNOME-Autostart-Notify=true
|
||||
X-GNOME-Bugzilla-Bugzilla=GNOME
|
||||
X-GNOME-Bugzilla-Product=gnome-keyring
|
||||
X-GNOME-Bugzilla-Component=general
|
||||
X-GNOME-Bugzilla-Version=3.34.0
|
||||
X-Desktop-File-Install-Version=0.23
|
||||
|
158
autostart/.config/autostart/gnome-keyring-ssh.desktop
Normal file
158
autostart/.config/autostart/gnome-keyring-ssh.desktop
Normal file
@ -0,0 +1,158 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name[af]=SSH-sleutelagent
|
||||
Name[ar]=عميل مفاتيح SSH
|
||||
Name[as]=SSH কি সহায়ক
|
||||
Name[ast]=Axente de claves SSH
|
||||
Name[be]=SSH-агент ключоў
|
||||
Name[bg]=Агентът на SSH за ключове
|
||||
Name[bn]=SSH কী এজেন্ট
|
||||
Name[bn_IN]=SSH কি এজেন্ট
|
||||
Name[bs]=Agent za SSH ključeve
|
||||
Name[ca]=Agent de claus SSH
|
||||
Name[ca@valencia]=Agent de claus SSH
|
||||
Name[cs]=Agent klíčů SSH
|
||||
Name[da]=SSH-nøgleagent
|
||||
Name[de]=SSH-Schlüsselagent
|
||||
Name[el]=Πράκτορας κλειδιού SSH
|
||||
Name[en_GB]=SSH Key Agent
|
||||
Name[eo]=SSH-ŝlosila agento
|
||||
Name[es]=Agente de claves SSH
|
||||
Name[et]=SSH-võtmete agent
|
||||
Name[eu]=SSH gako-agentea
|
||||
Name[fa]=عامل کلید SSH
|
||||
Name[fi]=SSH-avainten agentti
|
||||
Name[fr]=Agent de clés SSH
|
||||
Name[fur]=Agjent clâfs SSH
|
||||
Name[gd]=Àidseant iuchair SSH
|
||||
Name[gl]=Axente de chave SSH
|
||||
Name[gu]=SSH કી ઍજન્ટ
|
||||
Name[he]=סוכן מפתחות SSH
|
||||
Name[hi]=AFS कुँजी प्रतिनिधि
|
||||
Name[hr]=Agent SSH ključa
|
||||
Name[hu]=SSH-kulcs ügynök
|
||||
Name[id]=Agen Kunci SSH
|
||||
Name[it]=Agente chiavi SSH
|
||||
Name[ja]=SSH 鍵エージェント
|
||||
Name[kk]=SSH кілттер агенті
|
||||
Name[km]=ភ្នាក់ងារសោ SSH
|
||||
Name[kn]=SSH ಕೀಲಿ ಮಧ್ಯವರ್ತಿ
|
||||
Name[ko]=SSH 키 에이전트
|
||||
Name[lt]=SSH raktų tarnyba
|
||||
Name[lv]=SSH atslēgu aģents
|
||||
Name[mjw]=SSH Key Agent
|
||||
Name[mk]=Агент за SSH клучеви
|
||||
Name[ml]=എസ്എസ്എച് കീ ഏജന്റ്
|
||||
Name[mr]=SSH कि एजंट
|
||||
Name[ms]=Agen Kekunci SSH
|
||||
Name[nb]=SSH-nøkkelagent
|
||||
Name[nl]=SSH-sleutelagent
|
||||
Name[nn]=Nøkkelagent for SSH
|
||||
Name[oc]=Agent de claus SSH
|
||||
Name[or]=SSH କି ସଦସ୍ୟ
|
||||
Name[pa]=SSH ਕੁੰਜੀ ਏਜੰਟ
|
||||
Name[pl]=Agent kluczy SSH
|
||||
Name[pt]=Agente de chaves SSH
|
||||
Name[pt_BR]=Agente de chaves SSH
|
||||
Name[ro]=Agent pentru chei SSH
|
||||
Name[ru]=Агент ключей SSH
|
||||
Name[sk]=Agent kľúčov SSH
|
||||
Name[sl]=Agent ključev SSH
|
||||
Name[sr]=Агент за ССХ кључеве
|
||||
Name[sr@latin]=Agent za SSH ključeve
|
||||
Name[sv]=SSH-nyckelagent
|
||||
Name[ta]=SSH முகவர்
|
||||
Name[te]=SSH కీ వాహకము
|
||||
Name[th]=เอเจนต์กุญแจ SSH
|
||||
Name[tr]=SSH Anahtar Aracı
|
||||
Name[ug]=SSH ئاچقۇچ ياردەمچىسى
|
||||
Name[uk]=Агент ключів SSH
|
||||
Name[vi]=Đại diện khóa SSH
|
||||
Name[zh_CN]=SSH 密钥代理
|
||||
Name[zh_HK]=SSH 密碼匙代理程式
|
||||
Name[zh_TW]=SSH 金鑰代理程式
|
||||
Name=SSH Key Agent
|
||||
Comment[af]=GNOME-sleutelring: SSH-agent
|
||||
Comment[ar]=حلقة مفاتيح جنوم: عميل SSH
|
||||
Comment[as]=GNOME Keyring: SSH সহায়ক
|
||||
Comment[ast]=Depósitu de claves de GNOME: axente SSH
|
||||
Comment[be]=Вязкі ключоў GNOME: SSH-агент
|
||||
Comment[bg]=Ключодържател на GNOME: агент на SSH
|
||||
Comment[bn]=GNOME কী রিং: SSH এজেন্ট
|
||||
Comment[bn_IN]=GNOME Keyring: SSH এজেন্ট
|
||||
Comment[bs]=Gnomovi privjesci: SSH agent
|
||||
Comment[ca]=Anell de claus del GNOME: agent SSH
|
||||
Comment[ca@valencia]=Anell de claus del GNOME: agent SSH
|
||||
Comment[cs]=Klíčenka GNOME: Agent SSH
|
||||
Comment[da]=GNOME-nøgleringsdæmon: SSH-agent
|
||||
Comment[de]=GNOME-Schlüsselbunddienst: SSH-Agent
|
||||
Comment[el]=Κλειδοθήκη GNOME: Πράκτορας SSH
|
||||
Comment[en_GB]=GNOME Keyring: SSH Agent
|
||||
Comment[eo]=GNOME Ŝlosilaro: SSH-agento
|
||||
Comment[es]=Depósito de claves de GNOME: agente SSH
|
||||
Comment[et]=GNOME võtmerõngas: SSH-agent
|
||||
Comment[eu]=GNOMEren gako-sorta: SSH agentea
|
||||
Comment[fa]=دستهکلید گنوم: عامل SSH
|
||||
Comment[fi]=Gnomen avainnippu: SSH-agentti
|
||||
Comment[fr]=Trousseau de clés de GNOME : agent SSH
|
||||
Comment[fur]=Puarteclâfs di GNOME: agjent SSH
|
||||
Comment[gd]=Dul-iuchrach: Àidseant SSH
|
||||
Comment[gl]=GNOME Keyring: Axente SSH
|
||||
Comment[gu]=GNOME કીરીંગ: SSH ઍજન્ટ
|
||||
Comment[he]=קבוצת מפתחות של GNOME: סוכן SSH
|
||||
Comment[hi]=गनोम कीरिंग: SSH प्रतिनिधि
|
||||
Comment[hr]=GNOME skup ključeva: SSH agent
|
||||
Comment[hu]=GNOME kulcstartó – SSH-ügynök
|
||||
Comment[id]=Ring Kunci GNOME: Agen SSH
|
||||
Comment[it]=Portachiavi di GNOME: agente SSH
|
||||
Comment[ja]=GNOME キーリング: SSH エージェント
|
||||
Comment[kk]=GNOME Keyring: SSH агенті
|
||||
Comment[km]=GNOME Keyring ៖ ភ្នាក់ងារ SSH
|
||||
Comment[kn]=GNOME ಕೀಲಿಗೊಂಚಲು: SSH ಮಧ್ಯವರ್ತಿ
|
||||
Comment[ko]=그놈 키 모음: SSH 에이전트
|
||||
Comment[lt]=GNOME raktinė: SSH tarnyba
|
||||
Comment[lv]=GNOME atslēgu saišķis — SSH aģents
|
||||
Comment[mjw]=GNOME Keyring: SSH Agent
|
||||
Comment[mk]=Приврзок на GNOME: SSH агент
|
||||
Comment[ml]=ഗ്നോം കീറിങ്: എസ്എസ്എച് ഏജന്റ്
|
||||
Comment[mr]=GNOME किरिंग: SSH एजंट
|
||||
Comment[ms]=GNOME Keyring: Agen SSH
|
||||
Comment[nb]=GNOME nøkkelring: SSH-agent
|
||||
Comment[ne]=जिनोम किरिङ : SSH एजेन्ट
|
||||
Comment[nl]=Sleutelbos-service: SSH-agent
|
||||
Comment[nn]=GNOME Nøkkelring: SSH-agent
|
||||
Comment[oc]=Trossèl de claus GNOME : agent SSH
|
||||
Comment[or]=GNOME କି ରିଙ୍ଗ: SSH ସଦସ୍ୟ
|
||||
Comment[pa]=ਗਨੋਮ ਕੀਰਿੰਗ: SSH ਏਜੰਟ
|
||||
Comment[pl]=Baza kluczy dla środowiska GNOME: agent SSH
|
||||
Comment[pt]=GNOME Keyring: agente SSH
|
||||
Comment[pt_BR]=Chaveiro do GNOME: Agente SSH
|
||||
Comment[ro]=Inelul de chei GNOME: Agent SSH
|
||||
Comment[ru]=Связка ключей GNOME: SSH-агент
|
||||
Comment[sk]=SSH agent zväzku kľúčov GNOME
|
||||
Comment[sl]=Zbirka ključev GNOME: agent SSH
|
||||
Comment[sr]=Гномови привесци: ССХ агент
|
||||
Comment[sr@latin]=Gnomovi privesci: SSH agent
|
||||
Comment[sv]=GNOME-nyckelring: SSH-agent
|
||||
Comment[ta]=GNOME கீரிங்: SSH முகவர்
|
||||
Comment[te]=GNOME కీరింగ్: SSH వాహకం
|
||||
Comment[th]=พวงกุญแจของ GNOME: เอเจนต์ SSH
|
||||
Comment[tr]=GNOME Anahtarlığı: SSH Aracı
|
||||
Comment[ug]=گىنوم ئاچقۇچ ھالقىسى:SSH ياردەمچىسى
|
||||
Comment[uk]=Служба в'язки ключів GNOME: агент SSH
|
||||
Comment[vi]=Chùm chìa khóa GNOME: Đại diện SSH
|
||||
Comment[zh_CN]=GNOME 密钥环:SSH 代理
|
||||
Comment[zh_HK]=GNOME 密碼匙圈:SSH 代理程式
|
||||
Comment[zh_TW]=GNOME 鑰匙圈:SSH 代理程式
|
||||
Comment=GNOME Keyring: SSH Agent
|
||||
Exec=/usr/bin/gnome-keyring-daemon --start --components=ssh
|
||||
OnlyShowIn=GNOME;Unity;MATE;XFCE;
|
||||
X-GNOME-Autostart-Phase=PreDisplayServer
|
||||
X-GNOME-AutoRestart=false
|
||||
X-GNOME-Autostart-Notify=true
|
||||
X-GNOME-Bugzilla-Bugzilla=GNOME
|
||||
X-GNOME-Bugzilla-Product=gnome-keyring
|
||||
X-GNOME-Bugzilla-Component=general
|
||||
X-GNOME-Bugzilla-Version=3.34.0
|
||||
X-Desktop-File-Install-Version=0.23
|
||||
|
122
autostart/.config/autostart/gsettings-data-convert.desktop
Normal file
122
autostart/.config/autostart/gsettings-data-convert.desktop
Normal file
@ -0,0 +1,122 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=GSettings Data Conversion
|
||||
Name[as]=GSettings তথ্যৰ ৰূপান্তৰ
|
||||
Name[ast]=Conversión de datos de GSettings
|
||||
Name[be]=Пераўтварэнне даных у GSettings
|
||||
Name[bg]=Преобразуване на данните за GSettings
|
||||
Name[bn]=GSettings ডাটা রূপান্তর
|
||||
Name[bn_IN]=GSettings তথ্যের রূপান্তর
|
||||
Name[ca]=Conversió de dades a GSettings
|
||||
Name[ca@valencia]=Conversió de dades a GSettings
|
||||
Name[cs]=Převod dat GSettings
|
||||
Name[da]=Datakonvertering til GSettings
|
||||
Name[de]=GSettings-Datenumwandlung
|
||||
Name[el]=Μετατροπή δεδομένων GSettings
|
||||
Name[en_GB]=GSettings Data Conversion
|
||||
Name[eo]=GSettings-datumkonverto
|
||||
Name[es]=Conversión de datos de GSettings
|
||||
Name[eu]=GSettings datuen bihurketa
|
||||
Name[fi]=GSettings-tietomuunnos
|
||||
Name[fr]=Conversion des données GSettings
|
||||
Name[gl]=Conversión de datos GSettings
|
||||
Name[gu]=GSettings માહિતી પરિવર્તન
|
||||
Name[he]=GSettings Data Conversion
|
||||
Name[hi]=GSettings डेटा रूपांतरण
|
||||
Name[hu]=GSettings adatkonverzió
|
||||
Name[id]=Konversi Data GSetting
|
||||
Name[it]=Conversione dati GSettings
|
||||
Name[ja]=GSettings データ変換
|
||||
Name[km]=ការបម្លែងទិន្នន័យ GSettings
|
||||
Name[ko]=GSettings 데이터 변환
|
||||
Name[lt]=GSettings duomenu konvertavimas
|
||||
Name[lv]=GSettings datu pārveidošana
|
||||
Name[ml]=GSettings ഡാറ്റ രൂപഭേദം
|
||||
Name[mr]=GSettings डाटा रूपांतर
|
||||
Name[nb]=GSettings datakonvertering
|
||||
Name[nl]=GSettings-dataconversie
|
||||
Name[or]=GSettings ତଥ୍ୟ ରୂପାନ୍ତର
|
||||
Name[pa]=GSettings ਡਾਟਾ ਬਦਲਣਾ
|
||||
Name[pl]=Konwersja danych do GSettings
|
||||
Name[pt]=Conversão de Dados GSettings
|
||||
Name[pt_BR]=Conversão de dados GSettings
|
||||
Name[ro]=Conversie de date GSettings
|
||||
Name[ru]=Преобразование данных GSettings
|
||||
Name[sl]=Podatkovna pretvorba GSettings
|
||||
Name[sq]=Konvertimi i të dhënave të GSettings
|
||||
Name[sr]=Претварање података Гподешавања
|
||||
Name[sr@latin]=Pretvaranje podataka Gpodešavanja
|
||||
Name[sv]=GSettings-datakonvertering
|
||||
Name[ta]=GSettings தரவு மாற்றம்
|
||||
Name[te]=GSettings దత్తాంశ మార్పిడి
|
||||
Name[th]=แปลงข้อมูล GSettings
|
||||
Name[tr]=GSettings Veri Dönüştürme
|
||||
Name[ug]=GSettings سانلىق-مەلۇمات ئايلاندۇرۇش
|
||||
Name[uk]=Перетворення даних GSettings
|
||||
Name[vi]=Chuyển đổi dữ liệu GSettings
|
||||
Name[zh_CN]=GSettings 数据转换
|
||||
Name[zh_HK]=GSettings 資料轉換
|
||||
Name[zh_TW]=GSettings 資料轉換
|
||||
Comment=Migrates user settings from GConf to dconf
|
||||
Comment[as]=ব্যৱহাৰকাৰীৰ বৈশিষ্ট্যবোৰ GConf-ৰ পৰা dconf-লৈ স্থানান্তৰ কৰে
|
||||
Comment[ast]=Migra la configuración del usuariu de GConf a dconf
|
||||
Comment[be]=Перанос карыстальніцкіх настроек з GConf у dconf
|
||||
Comment[bg]=Мигриране на потребителските данни от GConf към dconf
|
||||
Comment[bn]=GConf থেকে dconf তে ব্যবহারকারী সেটিং মাইগ্রেট করে
|
||||
Comment[bn_IN]=ব্যবহারকারীর বৈশিষ্ট্যগুলি GConf থেকে dconf-এ স্থানান্তর করা হয়
|
||||
Comment[ca]=Migra els paràmetres d'usuari del GConf al dconf
|
||||
Comment[ca@valencia]=Migra els paràmetres d'usuari del GConf al dconf
|
||||
Comment[cs]=Přenáší uživatelská nastavení z GConf do dconf
|
||||
Comment[da]=Overflytter brugerindstillinger fra GConf til dconf
|
||||
Comment[de]=Migriert Benutzereinstellungen von GConf zu dconf
|
||||
Comment[el]=Μεταφέρει τις ρυθμίσεις του χρήστη από το GConf στο dconf
|
||||
Comment[en_GB]=Migrates user settings from GConf to dconf
|
||||
Comment[eo]=Transmetas uzantoagordojn de GConf al dconf
|
||||
Comment[es]=Migra la configuración del usuario de GConf a dconf
|
||||
Comment[eu]=Erabiltzailearen ezarpenak GConf-etik dconf-era migratzen ditu
|
||||
Comment[fi]=Muuntaa käyttäjäasetukset GConf-muodosta dconf-muotoon
|
||||
Comment[fr]=Effectue la migration des paramètres utilisateur de GConf vers dconf
|
||||
Comment[gl]=Migra as configuracións do usuario desde GConf a dconf
|
||||
Comment[gu]=GConf માંથી dconf માં વપરાશકર્તા સુયોજનોને સ્થળાંતર કરે છે
|
||||
Comment[he]=Migrates user settings from GConf to dconf
|
||||
Comment[hi]=GConf से dconf तक उपयोगकर्ता सेटिंग्स माइग्रेट करें
|
||||
Comment[hu]=Felhasználói beállítások áthelyezése GConfból dconfba
|
||||
Comment[id]=Memigrasikan pengaturan pengguna dari GConf ke dconf
|
||||
Comment[it]=Esegue la migrazione delle impostazioni utente da GConf a dconf
|
||||
Comment[ja]=ユーザーの設定を GConf から dconf に移行します
|
||||
Comment[km]=ប្ដូរការកំណត់អ្នកប្រើពី GConf ទៅជា dconf
|
||||
Comment[ko]=사용자 설정을 GConf에서 dconf로 변환합니다
|
||||
Comment[lt]=Migruoja naudotojo nustatymus iš GConf į dconf
|
||||
Comment[lv]=Migrē lietotāja iestatījumus no GConf uz dconf
|
||||
Comment[ml]=GConf ല് നിന്ന് dconf ലേക്ക് ഉപയോക്താവിന്റെ ക്രമീകരണങ്ങള് മാറ്റുക
|
||||
Comment[mr]=GConf पासून dconf करीता वापरकर्ता सेटिंग्स् स्थानांतरीत करतो
|
||||
Comment[nb]=Migrerer brukerinnstillinger fra GConf til dconf
|
||||
Comment[nl]=Gebruikersgegegevens van GConf naar dconf migreren
|
||||
Comment[or]=ଚାଳକ ବିନ୍ୟାସକୁ GConf ରୁ dconf କୁ ସ୍ଥାନାନ୍ତରିତ କରିଥାଏ
|
||||
Comment[pa]=ਯੂਜ਼ਰ ਸੈਟਿੰਗ ਨੂੰ GConf ਤੋਂ dconf ਲਈ ਮਾਈਗਰੇਟ ਕਰੋ
|
||||
Comment[pl]=Migruje ustawienia użytkownika z GConf do dconf
|
||||
Comment[pt]=Migra as definições do utilizador do GConf para o dconf
|
||||
Comment[pt_BR]=Migra configurações do usuário do GConf para o dconf
|
||||
Comment[ro]=Migrează setările utilizatorului din GConf în dconf
|
||||
Comment[ru]=Переносит настройки пользователя из GConf в dconf
|
||||
Comment[sl]=Prenos nastavitev uporabnika iz GConf v dconf
|
||||
Comment[sq]=Mogron rregullimet e përdoruesit nga GConf në dconf
|
||||
Comment[sr]=Пребаците корисничка подешавања из Гконфа у дконф.
|
||||
Comment[sr@latin]=Prebacite korisnička podešavanja iz Gkonfa u dkonf.
|
||||
Comment[sv]=Migrerar användarinställningar från GConf till dconf
|
||||
Comment[ta]=GConf இலிருந்து dconf பயனர் அமைவுகளுக்கு மாற்றுகிறது
|
||||
Comment[te]=వాడుకరి అమరికలను GConf నుండి dconf కు పంపును
|
||||
Comment[th]=ย้ายค่าตั้งต่างๆ ของผู้ใช้จาก GConf ไปเป็น dconf
|
||||
Comment[tr]=Kullanıcı ayarlarını GConf'dan dconf'a aktarır
|
||||
Comment[ug]=ئىشلەتكۈچى سەپلىمىسىنى GConf دىن dconf غا كۆچۈرۈش
|
||||
Comment[uk]=Перемістити налаштування користувача з GConf у dconf
|
||||
Comment[vi]=Chuyển thiết lập người dùng từ GConf sang dconf
|
||||
Comment[zh_CN]=由 GConf 迁移用户设置到 dconf
|
||||
Comment[zh_HK]=將使用者設定值從 GConf 轉移到 dconf
|
||||
Comment[zh_TW]=將使用者設定值從 GConf 轉移到 dconf
|
||||
Exec=gsettings-data-convert
|
||||
Terminal=false
|
||||
Type=Application
|
||||
OnlyShowIn=GNOME;Unity;
|
||||
X-GNOME-Autostart-Phase=Initialization
|
||||
|
16
autostart/.config/autostart/ibus-autostart.desktop
Normal file
16
autostart/.config/autostart/ibus-autostart.desktop
Normal file
@ -0,0 +1,16 @@
|
||||
[Desktop Entry]
|
||||
_Name=IBus
|
||||
_GenericName=IBus Daemon
|
||||
_Comment=Start IBus daemon
|
||||
Exec=ibus-autostart
|
||||
Icon=ibus-setup
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=System;Utility;
|
||||
StartupNotify=false
|
||||
NoDisplay=true
|
||||
X-GNOME-Autostart-Phase=Applications
|
||||
X-GNOME-AutoRestart=false
|
||||
X-GNOME-Autostart-Notify=false
|
||||
X-KDE-autostart-after=panel
|
||||
X-KDE-StartupNotify=false
|
61
autostart/.config/autostart/light-locker.desktop
Normal file
61
autostart/.config/autostart/light-locker.desktop
Normal file
@ -0,0 +1,61 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=Screen Locker
|
||||
Name[ca]=Bloquejador de pantalla
|
||||
Name[cs]=Uzamykač obrazovky
|
||||
Name[da]=Skærmlås
|
||||
Name[de]=Bildschirmsperre
|
||||
Name[en_GB]=Screen Locker
|
||||
Name[es]=Bloqueador de pantalla
|
||||
Name[fa]=قفل صفحه
|
||||
Name[fi]=Näytön lukitusohjelma
|
||||
Name[fr]=Verrouilleur d'écran
|
||||
Name[gl]=Bloqueado da pantalla
|
||||
Name[gu]=સ્ક્રીન લૉકર
|
||||
Name[hi]=परदा अबरोधक
|
||||
Name[hu]=Képernyőzár
|
||||
Name[it]=Blocca schermo
|
||||
Name[ja]=スクリーンのロック
|
||||
Name[kk]=Экран блоктаушысы
|
||||
Name[lt]=Ekrano Užrakinimas
|
||||
Name[nb]=Skjermlås
|
||||
Name[nl]=Schermvergrendeling
|
||||
Name[or]=ପରଦା ଅବରୋଧକ
|
||||
Name[pl]=Blokada ekranu
|
||||
Name[pt]=Bloqueio de Ecrã
|
||||
Name[pt_BR]=Bloqueio de Tela
|
||||
Name[ru]=Блокировщик экрана
|
||||
Name[tr]=Ekran Kilitleyici
|
||||
Name[zh_CN]=屏幕锁
|
||||
Name[zh_TW]=螢幕鎖定
|
||||
Comment=Launch screen locker program
|
||||
Comment[ca]=Obre el programa de blocatge de la pantalla
|
||||
Comment[cs]=Spustit Uzamykač obrazovky
|
||||
Comment[da]=Start program for skærmlås
|
||||
Comment[de]=Bildschirmsperre starten
|
||||
Comment[en_GB]=Launch screen locker program
|
||||
Comment[es]=Abrir el programa de bloqueo de pantalla
|
||||
Comment[fi]=Käynnistä näytön lukitusohjelma
|
||||
Comment[fr]=Lancer le verrouilleur d'écran
|
||||
Comment[gl]=Iniciar o programa de bloqueo da pantalla
|
||||
Comment[gu]=સ્ક્રીન લૉકર પ્રક્રિયાને શરુ કરો
|
||||
Comment[hi]=परदा अबरोधक प्रोग्राम आरम्भ करें
|
||||
Comment[hu]=Képernyőzár program indítása
|
||||
Comment[it]=Lancia il programma blocca schermo
|
||||
Comment[ja]=スクリーンロックのプログラムを実行する
|
||||
Comment[kk]=Экранды блоктау бағдарламасын жөнелту
|
||||
Comment[lt]=Paleisti ekrano užrakinimo programą
|
||||
Comment[nb]=Kjør skjermlåsningsprogram
|
||||
Comment[nl]=Schermvergrendelingsprogramma starten
|
||||
Comment[or]=ପରଦା ଅବରୋଧକ ଆରମ୍ଭ କରନ୍ତୁ
|
||||
Comment[pl]=Uruchamia program blokady ekranu
|
||||
Comment[pt]=Lançar o programa de bloqueio do ecrã
|
||||
Comment[pt_BR]=Iniciar o programa de bloqueio de tela
|
||||
Comment[ru]=Запустить программу блокировки экрана
|
||||
Comment[tr]=Ekran kilitleyici programı başlat
|
||||
Comment[zh_CN]=启动屏幕锁程序
|
||||
Comment[zh_TW]=啟動螢幕鎖定程式
|
||||
Icon=preferences-desktop-screensaver
|
||||
Exec=light-locker
|
||||
NoDisplay=true
|
||||
NotShowIn=GNOME;Unity;
|
170
autostart/.config/autostart/nm-applet.desktop
Normal file
170
autostart/.config/autostart/nm-applet.desktop
Normal file
@ -0,0 +1,170 @@
|
||||
[Desktop Entry]
|
||||
Name[af]=Netwerk
|
||||
Name[an]=Rete
|
||||
Name[ar]=شبكة
|
||||
Name[as]=নেটৱৰ্ক
|
||||
Name[ast]=Rede
|
||||
Name[be]=Сетка
|
||||
Name[bg]=Мрежа
|
||||
Name[bs]=Mreža
|
||||
Name[ca]=Xarxa
|
||||
Name[ca@valencia]=Xarxa
|
||||
Name[crh]=Şebeke
|
||||
Name[cs]=Síť
|
||||
Name[da]=Netværk
|
||||
Name[de]=Netzwerk
|
||||
Name[el]=Δίκτυο
|
||||
Name[en_GB]=Network
|
||||
Name[eo]=Reto
|
||||
Name[es]=Red
|
||||
Name[et]=Võrk
|
||||
Name[eu]=Sarea
|
||||
Name[fa]=شبکه
|
||||
Name[fi]=Verkko
|
||||
Name[fr]=Réseau
|
||||
Name[gd]=Lìonra
|
||||
Name[gl]=Rede
|
||||
Name[gu]=નેટવર્ક
|
||||
Name[he]=רשת
|
||||
Name[hi]=संजाल
|
||||
Name[hr]=Mreža
|
||||
Name[hu]=Hálózat
|
||||
Name[id]=Jaringan
|
||||
Name[is]=Netkerfi
|
||||
Name[it]=Rete
|
||||
Name[ja]=ネットワーク
|
||||
Name[kk]=Желі
|
||||
Name[km]=បណ្ដាញ
|
||||
Name[ko]=네트워크
|
||||
Name[ku]=Tor
|
||||
Name[lt]=Tinklas
|
||||
Name[lv]=Tīkls
|
||||
Name[mk]=Мрежа
|
||||
Name[ml]=ശൃംഖല
|
||||
Name[mr]=नेटवर्क
|
||||
Name[ms]=Rangkaian
|
||||
Name[nb]=Nettverk
|
||||
Name[nl]=Netwerk
|
||||
Name[nn]=Nettverk
|
||||
Name[oc]=Ret
|
||||
Name[pa]=ਨੈੱਟਵਰਕ
|
||||
Name[pl]=Sieć
|
||||
Name[pt]=Rede
|
||||
Name[pt_BR]=Rede
|
||||
Name[ro]=Rețea
|
||||
Name[ru]=Сеть
|
||||
Name[sk]=Sieť
|
||||
Name[sl]=Omrežje
|
||||
Name[sr]=Мрежа
|
||||
Name[sr@latin]=Mreža
|
||||
Name[sv]=Nätverk
|
||||
Name[ta]=பிணையம்
|
||||
Name[te]=నెట్వర్క్
|
||||
Name[tg]=Шабака
|
||||
Name[th]=เครือข่าย
|
||||
Name[tr]=Ağ
|
||||
Name[ug]=تور
|
||||
Name[uk]=Мережа
|
||||
Name[vi]=Mạng
|
||||
Name[zh_CN]=网络
|
||||
Name[zh_HK]=網絡
|
||||
Name[zh_TW]=網路
|
||||
Name=Network
|
||||
Comment[af]=Bestuur u netwerkverbindings
|
||||
Comment[an]=Chestione as suyas conexions de rete
|
||||
Comment[ar]=إدارة اتصالات الشبكة
|
||||
Comment[as]=আপোনাৰ নেটৱৰ্ক সংযোগসমূহ ব্যৱস্থাপনা কৰক
|
||||
Comment[ast]=Remana les conexones de rede
|
||||
Comment[be]=Кіраванне сеткавымі злучэннямі
|
||||
Comment[bg]=Управление на мрежовите връзки
|
||||
Comment[bs]=Upravljajte svojim mrežnim vezama
|
||||
Comment[ca]=Gestioneu les connexions de xarxa
|
||||
Comment[ca@valencia]=Gestioneu les connexions de xarxa
|
||||
Comment[crh]=Şebeke bağlantılarıñıznı idare etiñiz
|
||||
Comment[cs]=Spravujte svá síťová připojení
|
||||
Comment[da]=Håndtér dine netværksforbindelser
|
||||
Comment[de]=Verwaltung der Netzwerkverbindungen
|
||||
Comment[el]=Διαχείριση των συνδέσεων δικτύου
|
||||
Comment[en_GB]=Manage your network connections
|
||||
Comment[eo]=Kontroli viajn retkonektojn
|
||||
Comment[es]=Gestione sus conexiones de red
|
||||
Comment[et]=Võrguühenduste haldamine
|
||||
Comment[eu]=Kudeatu sareko konexioak
|
||||
Comment[fa]=اتصالهای شبکه خود را مدیریت کنید
|
||||
Comment[fi]=Hallitse verkkoyhteyksiä
|
||||
Comment[fr]=Gérer vos connexions réseau
|
||||
Comment[gd]=Stiùirich na ceanglaichean agad ris an eadar-lìon
|
||||
Comment[gl]=Xestione as súas conexións de rede
|
||||
Comment[gu]=તમારા નેટવર્ક જોડાણોને સંચાલિત કરો
|
||||
Comment[he]=ניהול חיבורי הרשת שלך
|
||||
Comment[hi]=अपना संजाल कनेक्शन नियंत्रित करें
|
||||
Comment[hr]=Upravljanje mrežnim povezivanjem
|
||||
Comment[hu]=Hálózati kapcsolatok kezelése
|
||||
Comment[id]=Mengelola koneksi jaringan Anda
|
||||
Comment[is]=Sýsla með nettengingar
|
||||
Comment[it]=Gestisce le connessioni di rete
|
||||
Comment[ja]=ネットワーク接続を管理
|
||||
Comment[kk]=Желілік байланыстарыңызды басқару
|
||||
Comment[km]=គ្រប់គ្រងការតភ្ជាប់បណ្ដាញរបស់អ្នក
|
||||
Comment[ko]=네트워크 연결을 관리합니다
|
||||
Comment[ku]=Girêdanên torê yên xwe birêve bike
|
||||
Comment[lt]=Tvarkyti tinklo ryšius
|
||||
Comment[lv]=Pārvaldiet savus tīkla savienojumus
|
||||
Comment[mk]=Менаџирајте со Вашите мрежни врски
|
||||
Comment[ml]=നിങ്ങളുടെ ശൃംഖല ബന്ധങ്ങള് കൈകാര്യം ചെയ്യുക
|
||||
Comment[mr]=नेटवर्क जोडणी नियंत्रीत करा
|
||||
Comment[ms]=Urus sambungan-sambungan rangkaian anda
|
||||
Comment[nb]=Håndter dine nettverksforbindelser
|
||||
Comment[nl]=Uw netwerkverbindingen beheren
|
||||
Comment[nn]=Handsam nettverkstilkoplingane
|
||||
Comment[oc]=Gerissètz vòstras connexions a la ret
|
||||
Comment[pa]=ਆਪਣੇ ਨੈੱਟਵਰਕ ਕਨੈਕਸ਼ਨਾਂ ਦਾ ਪਰਬੰਧ ਕਰੋ
|
||||
Comment[pl]=Zarządzanie połączeniami sieciowymi
|
||||
Comment[pt]=Controle as suas ligações de rede
|
||||
Comment[pt_BR]=Controle suas conexões de rede
|
||||
Comment[ro]=Gestionează conexiunile la rețea
|
||||
Comment[ru]=Управление сетевыми соединениями
|
||||
Comment[sk]=Spravuje vaše sieťové pripojenia
|
||||
Comment[sl]=Upravljanje omrežnih povezav
|
||||
Comment[sr]=Управљајте вашим везама мреже
|
||||
Comment[sr@latin]=Upravljajte vašim vezama mreže
|
||||
Comment[sv]=Hantera dina nätverksanslutningar
|
||||
Comment[ta]=உங்களது பிணையத்தின் இணைப்புகளை மேலாண்மை செய்க
|
||||
Comment[te]=మీ నెట్వర్కు అనుసంధానములను నిర్వహించు
|
||||
Comment[th]=จัดการการเชื่อมต่อเครือข่ายของคุณ
|
||||
Comment[tr]=Ağ bağlantılarınızı yönetin
|
||||
Comment[ug]=تور باغلىنىشلىرىڭىزنى باشقۇرۇڭ
|
||||
Comment[uk]=Організуйте ваші мережеві з'єднання
|
||||
Comment[vi]=Quản lý kết nối mạng
|
||||
Comment[zh_CN]=管理网络连接
|
||||
Comment[zh_HK]=管理你的網絡連線
|
||||
Comment[zh_TW]=管理您的網路連線
|
||||
Comment=Manage your network connections
|
||||
Icon[ca]=nm-device-wireless
|
||||
Icon[cs]=nm-device-wireless
|
||||
Icon[da]=nm-device-wireless
|
||||
Icon[es]=nm-device-wireless
|
||||
Icon[fr]=nm-device-wireless
|
||||
Icon[hr]=mu-bežični-uređaj
|
||||
Icon[hu]=nm-device-wireless
|
||||
Icon[it]=nm-device-wireless
|
||||
Icon[ja]=nm-device-wireless
|
||||
Icon[nl]=nm-device-wireless
|
||||
Icon[pl]=nm-device-wireless
|
||||
Icon[pt_BR]=nm-device-wireless
|
||||
Icon[ru]=nm-device-wireless
|
||||
Icon[tr]=nm-device-wireless
|
||||
Icon[zh_CN]=nm-device-wireless
|
||||
Icon=nm-device-wireless
|
||||
Exec=nm-applet --indicator
|
||||
Terminal=false
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
NotShowIn=KDE;GNOME;
|
||||
X-GNOME-Bugzilla-Bugzilla=GNOME
|
||||
X-GNOME-Bugzilla-Product=NetworkManager
|
||||
X-GNOME-Bugzilla-Component=nm-applet
|
||||
X-GNOME-UsesNotifications=true
|
||||
# We need to make sure the systray has already started
|
||||
# otherwise nm-applet will fall back to non systray too quickly
|
||||
X-GNOME-Autostart-Delay=4
|
@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=gnome-disk-utility notification plugin for GNOME Settings Daemon
|
||||
Exec=/usr/lib/gsd-disk-utility-notify
|
||||
OnlyShowIn=GNOME;
|
||||
NoDisplay=true
|
||||
X-GNOME-AutoRestart=true
|
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Name=Package Update Indicator
|
||||
GenericName=Package Update Indicator
|
||||
Comment=Notify about available software updates
|
||||
Icon=system-software-update
|
||||
Exec=package-update-indicator
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Utility;GTK;TrayIcon;
|
||||
NotShowIn=GNOME;KDE;
|
44
autostart/.config/autostart/parcellite-startup.desktop
Normal file
44
autostart/.config/autostart/parcellite-startup.desktop
Normal file
@ -0,0 +1,44 @@
|
||||
[Desktop Entry]
|
||||
GenericName=Clipboard Manager
|
||||
Categories=GTK;GNOME;Utility;X-SuSE-DesktopUtility;TrayIcon;
|
||||
Name=Parcellite
|
||||
Name[ca]=Parcellite
|
||||
Name[cs]=Parcellite
|
||||
Name[da]=Parcellite
|
||||
Name[de]=Parcellite
|
||||
Name[hu]=Parcellite
|
||||
Name[it]=Parcellite
|
||||
Name[ja]=Parcellite
|
||||
Name[nb]=Parcellite
|
||||
Name[pl]=Parcellite
|
||||
Name[pl_PL]=Parcellite
|
||||
Name[ro]=Parcellite
|
||||
Name[sv]=Parcellite
|
||||
Name[zh_CN]=Parcellite
|
||||
Comment=Clipboard Manager
|
||||
Comment[ca]=Gestor del porta-retalls
|
||||
Comment[cs]=Správce schránky
|
||||
Comment[da]=Udklipsholder
|
||||
Comment[de]=Verwaltung der Zwischenablage
|
||||
Comment[es]=Gestor del portapapeles
|
||||
Comment[fr]=Gestionnaire de presse-papier
|
||||
Comment[hu]=Vágólapkezelő
|
||||
Comment[it]=Gestore degli appunti
|
||||
Comment[ja]=クリップボード・マネージャ
|
||||
Comment[nb]=Utklippstavleverkty
|
||||
Comment[pl]=Schowek
|
||||
Comment[pl_PL]=Menadżer schowka
|
||||
Comment[pt_BR]=Gerenciador de Área de Transferência
|
||||
Comment[ro]=Administrator clipboard
|
||||
Comment[ru]=Менеджер буфера обмена
|
||||
Comment[sv]=Urklippshanterare
|
||||
Comment[tr]=Pano Yöneticisi
|
||||
Comment[zh_CN]=剪切板管理器
|
||||
Comment[zh_TW]=剪貼簿管理器
|
||||
Icon=parcellite
|
||||
Exec=parcellite
|
||||
Terminal=false
|
||||
Type=Application
|
||||
NotShownIn=KDE;
|
||||
X-GNOME-Autostart-enabled=true
|
||||
|
@ -0,0 +1,89 @@
|
||||
[Desktop Entry]
|
||||
Name=PolicyKit Authentication Agent
|
||||
Name[ar]=مدير الاستيثاق PolicyKit
|
||||
Name[be]=PolicyKit - аґент аўтэнтыфікацыі
|
||||
Name[bn_IN]=PolicyKit অনুমোদনের এজেন্ট
|
||||
Name[ca]=Agent d'autenticació del PolicyKit
|
||||
Name[cs]=Ověřovací agent PolicyKit
|
||||
Name[da]=Godkendelsesprogrammet PolicyKit
|
||||
Name[de]=Legitimationsdienst von PolicyKit
|
||||
Name[el]=Πράκτορας πιστοποίησης PolicyKit
|
||||
Name[en_GB]=PolicyKit Authentication Agent
|
||||
Name[es]=Agente de autenticación de PolicyKit
|
||||
Name[eu]=PolicyKit autentifikatzeko agentea
|
||||
Name[fi]=PolicytKit-tunnistautumisohjelma
|
||||
Name[fr]=Agent d'authentification de PolicyKit
|
||||
Name[gl]=Axente de autenticación PolicyKit
|
||||
Name[gu]=PolicyKit સત્તાધિકરણ એજન્ટ
|
||||
Name[hi]=PolicyKit प्रमाणीकरण प्रतिनिधि
|
||||
Name[hu]=PolicyKit hitelesítési ügynök
|
||||
Name[it]=Agente di autenticazione per PolicyKit
|
||||
Name[ja]=PolicyKit 認証エージェント
|
||||
Name[kn]=PolicyKit ದೃಢೀಕರಣ ಮಧ್ಯವರ್ತಿ
|
||||
Name[lt]=PolicyKit tapatybės nustatymo agentas
|
||||
Name[ml]=പോളിസിക്കിറ്റ് ഓഥന്റിക്കേഷന് ഏജന്റ്
|
||||
Name[mr]=PolicyKit ऑथेंटीकेशन एजेंट
|
||||
Name[or]=PolicyKit ବୈଧିକରଣ ସଦସ୍ୟ
|
||||
Name[pa]=ਪਾਲਸੀਕਿੱਟ ਪਰਮਾਣਕਿਤਾ ਏਜੰਟ
|
||||
Name[pl]=Agent uwierzytelniania PolicyKit
|
||||
Name[pt]=Agente de Autenticação PolicyKit
|
||||
Name[pt_BR]=Agente de autenticação PolicyKit
|
||||
Name[ro]=Agent de autentificare PolicyKit
|
||||
Name[sk]=Agent PolicyKit na overovanie totožnosti
|
||||
Name[sl]=PolicyKit program overjanja
|
||||
Name[sv]=Autentiseringsagent för PolicyKit
|
||||
Name[ta]=PolicyKit அங்கீகார முகவர்
|
||||
Name[te]=పాలసీకిట్ ధృవీకరణ ప్రతినిధి
|
||||
Name[th]=ตัวกลางสำหรับยืนยันตัวบุคคล PolicyKit
|
||||
Name[uk]=Агент автентифікації PolicyKit
|
||||
Name[zh_CN]=PolicyKit 认证代理
|
||||
Name[zh_HK]=PolicyKit 驗證代理程式
|
||||
Name[zh_TW]=PolicyKit 驗證代理程式
|
||||
Comment=PolicyKit Authentication Agent
|
||||
Comment[ar]=مدير الاستيثاق PolicyKit
|
||||
Comment[be]=PolicyKit - аґент аўтэнтыфікацыі
|
||||
Comment[bn_IN]=PolicyKit অনুমোদনের এজেন্ট
|
||||
Comment[ca]=Agent d'autenticació del PolicyKit
|
||||
Comment[cs]=Ověřovací agent PolicyKit
|
||||
Comment[da]=Godkendelsesprogrammet PolicyKit
|
||||
Comment[de]=Legitimationsdienst von PolicyKit
|
||||
Comment[el]=Πράκτορας πιστοποίησης PolicyKit
|
||||
Comment[en_GB]=PolicyKit Authentication Agent
|
||||
Comment[es]=Agente de autenticación de PolicyKit
|
||||
Comment[eu]=PolicyKit autentifikatzeko agentea
|
||||
Comment[fi]=PolicytKit-tunnistautumisohjelma
|
||||
Comment[fr]=Agent d'authentification de PolicyKit
|
||||
Comment[gl]=Axente de autenticación PolicyKit
|
||||
Comment[gu]=PolicyKit સત્તાધિકરણ એજન્ટ
|
||||
Comment[hi]=PolicyKit प्रमाणीकरण प्रतिनिधि
|
||||
Comment[hu]=PolicyKit hitelesítési ügynök
|
||||
Comment[it]=Agente di autenticazione per PolicyKit
|
||||
Comment[ja]=PolicyKit 認証エージェント
|
||||
Comment[kn]=PolicyKit ದೃಢೀಕರಣ ಮಧ್ಯವರ್ತಿ
|
||||
Comment[lt]=PolicyKit tapatybės nustatymo agentas
|
||||
Comment[ml]=പോളിസിക്കിറ്റ് ഓഥന്റിക്കേഷന് ഏജന്റ്
|
||||
Comment[mr]=PolicyKit ऑथेंटीकेशन एजेंट
|
||||
Comment[or]=PolicyKit ବୈଧିକରଣ ସଦସ୍ୟ
|
||||
Comment[pa]=ਪਾਲਸੀਕਿੱਟ ਪਰਮਾਣਕਿਤਾ ਏਜੰਟ
|
||||
Comment[pl]=Agent uwierzytelniania PolicyKit
|
||||
Comment[pt]=Agente de Autenticação PolicyKit
|
||||
Comment[pt_BR]=Agente de autenticação PolicyKit
|
||||
Comment[ro]=Agent de autentificare PolicyKit
|
||||
Comment[sk]=Agent PolicyKit na overovanie totožnosti
|
||||
Comment[sl]=PolicyKit program overjanja
|
||||
Comment[sv]=Autentiseringsagent för PolicyKit
|
||||
Comment[ta]=PolicyKit அங்கீகார முகவர்
|
||||
Comment[te]=పాలసీకిట్ ధృవీకరణ ప్రతినిధి
|
||||
Comment[th]=ตัวกลางสำหรับยืนยันตัวบุคคล PolicyKit
|
||||
Comment[uk]=Агент автентифікації PolicyKit
|
||||
Comment[zh_CN]=PolicyKit 认证代理
|
||||
Comment[zh_HK]=PolicyKit 驗證代理程式
|
||||
Comment[zh_TW]=PolicyKit 驗證代理程式
|
||||
Exec=/usr/lib/polkit-gnome-authentication-agent-1
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=
|
||||
NoDisplay=true
|
||||
NotShowIn=KDE;
|
||||
AutostartCondition=GNOME3 unless-session gnome
|
||||
|
119
autostart/.config/autostart/print-applet.desktop
Normal file
119
autostart/.config/autostart/print-applet.desktop
Normal file
@ -0,0 +1,119 @@
|
||||
[Desktop Entry]
|
||||
Name=Print Queue Applet
|
||||
Name[ar]=بريمج طابور الطباعة
|
||||
Name[as]=মূদ্ৰণ কৰক
|
||||
Name[bg]=Аплет за печат на опашката
|
||||
Name[bn]=প্রিন্ট কর্ম তালিকার অ্যাপ্লেট
|
||||
Name[bn_IN]=প্রিন্ট কর্ম তালিকার অ্যাপ্লেট
|
||||
Name[br]=Arloadig al lostennad moullañ
|
||||
Name[ca]=Miniaplicació de la cua d'impressió
|
||||
Name[cs]=Applet tiskové fronty
|
||||
Name[da]=Panelprogram for udskriftskø
|
||||
Name[de]=Applet für Druckerwarteschlange
|
||||
Name[el]=Μικροεφαρμογή ουράς εκτύπωσης
|
||||
Name[en_GB]=Print Queue Applet
|
||||
Name[es]=Applet de la Cola de Impresión
|
||||
Name[et]=Trükijärjekorra aplett
|
||||
Name[fi]=Tulostusjonosovelma
|
||||
Name[fr]=Applet de file d'attente d'impression
|
||||
Name[gu]=છાપન કતાર એપ્લેટ
|
||||
Name[he]=יישומון תורי הדפסה
|
||||
Name[hi]=कतार एप्लेट छापें
|
||||
Name[hr]=Aplet čekanja ispisa
|
||||
Name[hu]=Nyomtatásisor-alkalmazás
|
||||
Name[id]=Aplet Antrian Cetak
|
||||
Name[is]=Prentbiðraðarsmáforrit
|
||||
Name[it]=Applet coda di stampa
|
||||
Name[ja]=印刷キューのアプレット
|
||||
Name[kn]=ಮುದ್ರಕ ಸರತಿ Applet
|
||||
Name[ko]=인쇄 대기 상태 애플릿
|
||||
Name[lv]=Drukas rindas sīklietotne
|
||||
Name[ml]=ക്യൂ ആപ്ലറ്റ് പ്രിന്റ് ചെയ്യുക
|
||||
Name[mr]=छपाई रांग ऍप्लेट
|
||||
Name[nb]=Panelprogram for utskriftskø
|
||||
Name[nl]=Printwachtrij-applet
|
||||
Name[nn]=Panelprogram for utskriftskø
|
||||
Name[or]=ମୂଦ୍ରଣୀ ଧାଡି ଆପ୍ଲେଟ
|
||||
Name[pa]=ਪਰਿੰਟ ਕਿਊ ਐਪਲਿਟ
|
||||
Name[pl]=Aplet kolejki drukowania
|
||||
Name[pt]=Applet da fila de impressão
|
||||
Name[pt_BR]=Miniaplicativo da fila de impressão
|
||||
Name[ro]=Mini-aplicație coadă tipărire
|
||||
Name[ru]=Апплет очереди печати
|
||||
Name[sk]=Applet tlačovej fronty
|
||||
Name[sl]=Vstavek tiskalniške vrste
|
||||
Name[sr]=Програмче за ред штампања
|
||||
Name[sr@latin]=Programče za red štampanja
|
||||
Name[sv]=Panelprogram för utskriftskö
|
||||
Name[ta]=வரிசை அப்லெட்டை அச்சிடவும்
|
||||
Name[te]=క్యూ ఆప్లెట్ను ముద్రించుము
|
||||
Name[th]=แอพเพลตคิวพิมพ์
|
||||
Name[tr]=Baskı Sırası Uygulaması
|
||||
Name[uk]=Аплет черги друку
|
||||
Name[vi]=Tiểu dụng hàng đợi in
|
||||
Name[zh_CN]=打印队列小程序
|
||||
Name[zh_TW]=列印佇列面板程式
|
||||
Comment=System tray icon for managing print jobs
|
||||
Comment[ar]=أيقونة لوحة النظام لإدارة مهام الطباعة
|
||||
Comment[as]=মূদ্ৰণ কাৰ্য্য পৰিচালনাৰ বাবে ব্যৱস্থাপ্ৰণালী-ট্ৰে তে প্ৰদৰ্শনযোগ্য আইকন
|
||||
Comment[bg]=Systray икона за управление на задачите на принтера
|
||||
Comment[bn]=প্রিন্ট কর্ম পরিচালনার জন্য সিস্টেম-ট্রে তে প্রদর্শনযোগ্য আইকন
|
||||
Comment[bn_IN]=প্রিন্ট কর্ম পরিচালনার জন্য সিস্টেম-ট্রে তে প্রদর্শনযোগ্য আইকন
|
||||
Comment[br]=Arlun ar maez rebuziñ evit ardeiñ al labourioù moullañ
|
||||
Comment[ca]=Icona de l'àrea de notificació per a gestionar els treballs d'impressió
|
||||
Comment[cs]=Ikona v oznamovací oblasti pro správu tiskových úloh
|
||||
Comment[da]=Statusikon til håndtering af udskriftsjob
|
||||
Comment[de]=Symbol für Benachrichtigungsfeld zur Verwaltung von Druckaufträgen
|
||||
Comment[el]=Εικονίδιο μπάρας συστήματος για διαχείριση εργασιών εκτύπωσης
|
||||
Comment[en_GB]=System tray icon for managing print jobs
|
||||
Comment[es]=Icono del area de notificación para administrar trabajos de impresión
|
||||
Comment[et]=Süsteemse salve ikoon trükitööde haldamiseks
|
||||
Comment[fi]=Ilmoitusalueen kuvake tulostustöiden hallintaan
|
||||
Comment[fr]=Zone de notification pour la gestion des tâches d'impression
|
||||
Comment[gu]=છાપન ક્રિયાઓની વ્યવસ્થા કરવા માટે સિસ્ટમ ટ્રે ચિહ્ન
|
||||
Comment[he]=צלמית במגש המערכת עבור ניהול משימות הדפסה
|
||||
Comment[hi]=छपाई काम प्रबंधन के लिये सिस्टम ट्रे प्रतीक
|
||||
Comment[hr]=Ikona trake sustava za upravljanje zadacima ispisivanja
|
||||
Comment[hu]=Rendszertálca-ikon nyomtatási feladatok kezeléséhez
|
||||
Comment[id]=Ikon baki sistem untuk mengelola tugas pencetak
|
||||
Comment[is]=Táknmynd á spjaldið til að stýra prentverkum
|
||||
Comment[it]=Icona dell'area di notifica di sistema per gestire i lavori di stampa
|
||||
Comment[ja]=印刷ジョブを管理するシステムトレイアイコン
|
||||
Comment[kn]=ಮುದ್ರಣ ಕಾರ್ಯಗಳನ್ನು ನಿರ್ವಹಿಸಲು ಗಣಕ ಟ್ರೇ ಲಾಂಛನ
|
||||
Comment[ko]=인쇄 작업 관리를 위한 시스템 트레이 아이콘
|
||||
Comment[lv]=Sistēmas paziņojumu joslas ikona drukas darbu pārvaldībai
|
||||
Comment[ml]=പ്രിന്റ് ചെയ്യുവാനുളളവ കൈകാര്യം ചെയ്യുന്നതിനുളള സിസ്റ്റം ട്രേ ഐക്കണ്
|
||||
Comment[mr]=छपाई कार्य व्यवस्थापीत करण्याकरीता प्रणाली ट्रे चिन्ह
|
||||
Comment[nb]=Varselikon for utskriftsjobber for systemområdet
|
||||
Comment[nl]=Systeemvak icoon voor het beheren van printopdrachten
|
||||
Comment[nn]=Systemtrauikon for handsaming av utskriftsjobbar
|
||||
Comment[or]=ମୁଦ୍ରଣ କାର୍ଯ୍ଯ ମାନଙ୍କୁ ପରିଚାଳନା କରିବା ପାଇଁ ତନ୍ତ୍ର ଟ୍ରେ ଚିତ୍ରସଙ୍କେତ
|
||||
Comment[pa]=ਪਰਿੰਟ ਜੌਬ ਪਰਬੰਧਨ ਲਈ ਸਿਸਟਮ ਟਰੇਅ
|
||||
Comment[pl]=Ikona w obszarze powiadamiania do zarządzania zadaniami wydruku
|
||||
Comment[pt]=Ícone para gerir as tarefas de impressão
|
||||
Comment[pt_BR]=Ícone de bandeja do sistema para o gerenciamento de trabalhos de impressão
|
||||
Comment[ro]=Iconiță în zona de notificare pentru gestionarea proceselor de tipărire
|
||||
Comment[ru]=Иконка области уведомления для управления заданиями печати
|
||||
Comment[sk]=Ikona na paneli úloh pre správu tlačových úloh
|
||||
Comment[sl]=Ikona v opravilni vrstici za upravljanje tiskalniških opravil
|
||||
Comment[sr]=Икона системске обавештајне зоне за управљање штампарским пословима
|
||||
Comment[sr@latin]=Ikona sistemske obaveštajne zone za upravljanje štamparskim poslovima
|
||||
Comment[sv]=Aktivitetsfältsikon för administration av utskriftsjobb
|
||||
Comment[ta]=அச்சு பணிகளை மேலாண்மை செய்ய கணின தட்டு சின்னம்
|
||||
Comment[te]=ముద్రణ పనులను నిర్వహించుటకు సిస్టమ్ ట్రే ప్రతిమ
|
||||
Comment[th]=ไอคอนแถบสถานะสำหรับจัดการงานพิมพ์
|
||||
Comment[tr]=Yazdırma işlerini yönetmek için sistem çekmecesi simgesi
|
||||
Comment[uk]=Значок у системній області для керування завданнями друку
|
||||
Comment[vi]=Biểu tượng khay hệ thống để quản lý các công việc in
|
||||
Comment[zh_CN]=管理打印任务的系统托盘图标
|
||||
Comment[zh_TW]=管理列印工作的系統匣圖示
|
||||
Exec=system-config-printer-applet
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=system-config-printer
|
||||
NotShowIn=KDE;GNOME;
|
||||
StartupNotify=false
|
||||
X-GNOME-Autostart-Delay=30
|
||||
X-Desktop-File-Install-Version=0.23
|
||||
Categories=System;Monitor;GTK;
|
||||
|
154
autostart/.config/autostart/user-dirs-update-gtk.desktop
Normal file
154
autostart/.config/autostart/user-dirs-update-gtk.desktop
Normal file
@ -0,0 +1,154 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Exec=xdg-user-dirs-gtk-update
|
||||
Name=User folders update
|
||||
Name[an]=Esvielle d'as carpetas de l'usuario
|
||||
Name[ar]=تحديث مجلدات المستخدم
|
||||
Name[as]=ব্যৱহাৰকৰ্তাৰ ফোল্ডাৰৰ উন্নয়ন
|
||||
Name[ast]=Anovamientu de les carpetes del usuariu
|
||||
Name[be]=Абнаўленне назваў карыстальніцкіх папак
|
||||
Name[be@latin]=Aktualizacyja katalohaŭ karystalnika
|
||||
Name[bg]=Превеждане на имената на стандартните папки
|
||||
Name[bn_IN]=ব্যবহারকারীর ফোল্ডার আপডেট
|
||||
Name[bs]=Ažuriranje korisničkih direktorija
|
||||
Name[ca]=Actualització de les carpetes d'usuari
|
||||
Name[crh]=Qullanıcı cilbentleriniñ yañartıluvı
|
||||
Name[cs]=Aktualizace uživatelských složek
|
||||
Name[csb]=Aktualizacëjô kataloga brëkòwnika
|
||||
Name[da]=Opdatering af brugermapper
|
||||
Name[de]=Aktualisierung der Ordner des Benutzers
|
||||
Name[el]=Ενημέρωση φακέλων χρήστη
|
||||
Name[en_GB]=User folders update
|
||||
Name[eo]=Ĝisdatigo de uzantaj dosierujoj
|
||||
Name[es]=Actualización de las carpetas del usuario
|
||||
Name[et]=Kasutaja kataloogide uuendamine
|
||||
Name[eu]=Erabiltzailearen karpeten eguneraketa
|
||||
Name[fi]=Vakiokansioiden päivitys
|
||||
Name[fr]=Mise à jour des dossiers utilisateur
|
||||
Name[fur]=Inzornament cartelis utent
|
||||
Name[gl]=Actualizar os cartafoles do usuario
|
||||
Name[gu]=વપરાશકર્તાનાં ફોલ્ડરોનો સુધારો
|
||||
Name[he]=עדכון תיקיות המשתמש
|
||||
Name[hi]=उपयोक्ता फोल्डर अद्यतन
|
||||
Name[hr]=Nadopuna korisnikovih mapa
|
||||
Name[hu]=Felhasználói mappák frissítése
|
||||
Name[id]=Pembaruan folder pengguna
|
||||
Name[is]=Uppfæra möppur notanda
|
||||
Name[it]=Aggiorna cartelle utente
|
||||
Name[ja]=ユーザー・フォルダーの更新
|
||||
Name[ka]=მომხმარებელთა დასტების განახლება
|
||||
Name[kg]=mu sekokae nta
|
||||
Name[kk]=Пайдаланушы бумаларын жаңарту
|
||||
Name[kn]=ಬಳಕೆದಾರ ಕಡತಕೋಶಗಳ ಅಪ್ಡೇಟ್
|
||||
Name[ko]=사용자 폴더 업데이트
|
||||
Name[ku]=Rojanekirina peldankên bikarhênerê/î
|
||||
Name[lt]=Naudotojo aplankų atnaujinimas
|
||||
Name[lv]=Lietotāja mapju atjaunināšana
|
||||
Name[ml]=ഉപയോക്താവിന്റെ ഫോള്ഡറുകളുടെ പരിഷ്കരണം
|
||||
Name[mr]=वापरकर्ता पोल्डर्सची सुधारणा
|
||||
Name[nb]=Oppdatering av brukermapper
|
||||
Name[nds]=Brukerverteeknisopfrischen
|
||||
Name[nl]=Gebruikersmappen aanpassen
|
||||
Name[or]=ଚାଳକ ଫୋଲଡରଗୁଡ଼ିକର ଅଦ୍ୟତନ
|
||||
Name[pa]=ਯੂਜ਼ਰ ਫੋਲਡਰ ਅੱਪਡੇਟ
|
||||
Name[pl]=Aktualizacja katalogów użytkownika
|
||||
Name[ps]=د کارن پوښېو اوسمهالونه
|
||||
Name[pt]=Atualização de pastas do utilizador
|
||||
Name[pt_BR]=Atualizar pastas de usuário
|
||||
Name[ro]=Actualizare dosare utilizator
|
||||
Name[ru]=Обновление папок пользователя
|
||||
Name[si]=පරිශීලක බහාලුම් යාවත්කාලීනය
|
||||
Name[sk]=Aktualizácia používateľských priečinkov
|
||||
Name[sl]=Uporabniška posodobitev map
|
||||
Name[sq]=Përditëso kartelat e përdoruesit
|
||||
Name[sr]=Преименовање фасцикли
|
||||
Name[sr@latin]=Preimenovanje fascikli
|
||||
Name[sv]=Uppdatera användarmappar
|
||||
Name[ta]=பயனர் கோப்புறைகளை மேம்படுத்து
|
||||
Name[te]=వినియోగదారి ఫోల్డర్ల నవీకరణ
|
||||
Name[th]=ปรับชื่อโฟลเดอร์ผู้ใช้
|
||||
Name[tr]=Kullanıcı klasörlerinin güncelleştirilmesi
|
||||
Name[uk]=Оновлення тек користувача
|
||||
Name[vi]=Cập nhật thư mục người dùng
|
||||
Name[zh_CN]=用户文件夹更新
|
||||
Name[zh_HK]=使用者資料夾更新
|
||||
Name[zh_TW]=使用者資料夾更新
|
||||
Comment=Update common folders names to match current locale
|
||||
Comment[af]=Dateer algemene gidsname op om te pas by die huidige lokaliteitsinstelling
|
||||
Comment[an]=Esviellar os nombres d'as carpetas ta conincidir con a configuracion rechional actual
|
||||
Comment[ar]=حدّث أسماء المجلدات المشتركة لتطابق المحلية الحالية
|
||||
Comment[as]=বৰ্ত্তমানৰ লোকেইলৰ লগত মিলাবলৈ সাধাৰণ ফোল্ডাৰৰ নাম উন্নয়ন কৰক
|
||||
Comment[ast]=Anovar los nomes comunes de les carpetes pa que concasen cola configuración rexonal actual
|
||||
Comment[be]=Абнаўленне назваў стандартных папак у адпаведнасці з актыўнымі настройкамі мясцовасці
|
||||
Comment[be@latin]=Aktualizuj nazvy asnoŭnych katalohaŭ, kab adpaviadali dziejnaj lakalnaści
|
||||
Comment[bg]=Превеждане на имената на стандартните папки към текущо ползвания език
|
||||
Comment[bn_IN]=বর্তমান লোকেইল অনুযায়ী, সাধারণ ফোল্ডারগুলির নাম পরিবর্তন করা হবে
|
||||
Comment[bs]=Promijeni imena često korišćenih direktorija na trenutni jezik
|
||||
Comment[ca]=Actualitza els noms de les carpetes comunes per a coincidir amb l'idioma actual
|
||||
Comment[crh]=Umumiy cilbentlerniñ isimlerini ağımdaki tilge uyğunlaştır
|
||||
Comment[cs]=Aktualizovat názvy běžných složek podle aktuální lokalizace libc
|
||||
Comment[csb]=Aktualizacëjô nowich mionów katalogów do aktualnegò nastôwù jãzëka
|
||||
Comment[da]=Opdatér almindelige mappenavne, så de passer til det nuværende sprog
|
||||
Comment[de]=Namen der Standardordner auf die momentan verwendete Sprache aktualisieren
|
||||
Comment[el]=Ενημέρωση ονομάτων των συνηθισμένων φακέλων ώστε να ταιριάζουν στην τρέχουσα γλώσσα
|
||||
Comment[en_GB]=Update common folders names to match current locale
|
||||
Comment[eo]=Ĝisdatigi komunajn dosierujnomojn por tute kongrui aktualan lokan lingvon
|
||||
Comment[es]=Actualizar los nombres comunes de las carpetas para coincidir con la configuración regional actual
|
||||
Comment[et]=Standardkaustade nimede uuendamine, et need sobiksid valitud keelega
|
||||
Comment[eu]=Eguneratu karpeta arrunten izenak uneko lokalearekin bat etortzeko
|
||||
Comment[fi]=Päivitä vakiokansioiden nimet nykyisten kieliasetusten perusteella
|
||||
Comment[fr]=Mettre à jour les noms des dossiers courants pour correspondre à la langue (« locale ») actuelle
|
||||
Comment[fur]=Inzorne i nons des cartelis ordenaris in base ae lenghe in ûs
|
||||
Comment[gl]=Actualizar nomes dos cartafoles comúns para coincidir co locale actual
|
||||
Comment[gu]=હાલનાં લોકેલ ને બંધબેસતા સામાન્ય ફોલ્ડર નામોને સુધારો
|
||||
Comment[he]=עדכון שמות של תיקיות נפוצות כך שיתאימו לשפה הנוכחית
|
||||
Comment[hi]=मौजूदा फोल्डर से मेल खाने के लिए सामान्य फोल्डर नाम को अद्यतन करें
|
||||
Comment[hr]=Nadopuni nazive uobičajenih mapa kako bi odgovarali trenutnom jeziku
|
||||
Comment[hu]=Általános mappanevek frissítése a jelenlegi területi beállításra
|
||||
Comment[id]=Perbarui nama folder umum untuk disamakan dengan lokal saat ini
|
||||
Comment[is]=Uppfæra möppur til að passa við núverandi tungumál
|
||||
Comment[it]=Aggiorna i nomi di cartella comuni in base alla lingua in uso
|
||||
Comment[ja]=標準フォルダーの名前を現在の言語に合わせて更新します
|
||||
Comment[ka]=დასტების მიმდინარე ლოკალის მიხედვით განახლება
|
||||
Comment[kg]=bandula nta za lundombe mu ndingAku
|
||||
Comment[kk]=Ағымдағы тілге сәйкес келуі үшін қалыпты бумалар атауларын жаңарту
|
||||
Comment[kn]=ಪ್ರಸಕ್ತ ಭಾಷೆಗೆ(ಲೊಕ್ಯಾಲ್) ಹೊಂದಿಕೊಳ್ಳುವಂತೆ ಸಾಮಾನ್ಯ ಕಡತಕೋಶದ ಹೆಸರುಗಳನ್ನು ಬದಲಾಯಿಸಿ
|
||||
Comment[ko]=현재 로캘에 맞게 공통 폴더의 이름을 바꿉니다
|
||||
Comment[ku]=Navên peldankên zêde bikaranî rojane bike da ku lihevhatina bi localeya heyî re hebe.
|
||||
Comment[lt]=Atnaujinti standartinių aplankų vardus pagal nustatytą lokalę
|
||||
Comment[lv]=Atjaunināt vispārīgo mapju nosaukumus, lai tie sakristu ar izvēlēto lokāli
|
||||
Comment[ml]=ഇപ്പോഴുള്ള ലൊക്കേലുമായി പൊരുത്തപ്പെടുന്ന സാധാരണ ഫോള്ഡര് നാമങ്ങള് നല്കുക
|
||||
Comment[mr]=सध्याच्या लोकेलची जुळवणी करण्यासाठी सामान्य फोल्डरचे नावे सुधारीत करा
|
||||
Comment[nb]=Oppdater navn på vanlige mapper til aktivt språk
|
||||
Comment[nds]=Allgemeene Verteeknisnaamen in de neje Sprak opfrischen
|
||||
Comment[nl]=Namen van standaardmappen aanpassen aan de huidige taalinstelling
|
||||
Comment[or]=ପ୍ରଚଳିତ ଭାଷା ସହିତ ମେଳାଇବା ପାଇଁ ସାଧାରଣ ଫୋଲଡର ନାମଗୁଡ଼ିକୁ ଅଦ୍ୟତନ କରନ୍ତୁ
|
||||
Comment[pa]=ਆਮ ਫੋਲਡਰ ਨਾਂ ਮੌਜੂਦਾ ਲੋਕੇਲ ਨਾਲ ਮਿਲਾਉਣ ਵਾਸਤੇ ਅੱਪਡੇਟ
|
||||
Comment[pl]=Aktualizowanie nazw katalogów do bieżących ustawień językowych
|
||||
Comment[ps]=د ټولګړو پوښېو نومونه اوسمهالول چې د اوسنۍ ځاييزونې سره ساري شي
|
||||
Comment[pt]=Atualizar os nomes de pastas comuns para corresponderem ao idioma atual
|
||||
Comment[pt_BR]=Atualiza o nome de pastas comuns para se adequar à localização atual
|
||||
Comment[ro]=Actualizați numele dosarelor uzuale pentru a se potrivi cu localizarea curentă
|
||||
Comment[ru]=Обновить имена общих папок для соответствия текущему языку
|
||||
Comment[sk]=Aktualizovať názvy bežných priečinkov, aby sa zhodovali so súčasným jazykom
|
||||
Comment[sl]=Posodobi imena map na trenutno izbrani jezik
|
||||
Comment[sq]=Përditëso emrat e kartelave të zakonshme në bazë të gjuhës në përdorim
|
||||
Comment[sr]=Усклађује имена стандардних фасцикли са тренутним језиком
|
||||
Comment[sr@latin]=Usklađuje imena standardnih fascikli sa trenutnim jezikom
|
||||
Comment[sv]=Uppdatera vanliga mappnamn för att passa aktuell lokal
|
||||
Comment[ta]=நடப்பு உள்ளமைக்கு பொதுவான கோப்புறைகளின் பெயர்களை பொருத்துவதற்கு மேம்படுத்து
|
||||
Comment[te]=ఉమ్మడి ఫోల్డర్ నామములను ప్రస్తుత స్థానికానికి నవీకరించుము
|
||||
Comment[th]=ปรับชื่อโฟลเดอร์มาตรฐานให้เป็นภาษาเดียวกับโลแคลปัจจุบัน
|
||||
Comment[tr]=Genel klasör adlarını geçerli dile uyumlu hale getirmek için güncelleştir
|
||||
Comment[uk]=Оновити імена загальних тек для відповідності поточній локалі
|
||||
Comment[vi]=Cập nhật tên các thư mục thông dụng cho khớp với ngôn ngữ bản địa
|
||||
Comment[zh_CN]=更新公共文件夹名称以匹配当前区域设置
|
||||
Comment[zh_HK]=更新常用資料夾名稱以符合目前的語言區域設定
|
||||
Comment[zh_TW]=更新常用資料夾名稱以符合目前的語言區域設定
|
||||
Terminal=false
|
||||
OnlyShowIn=GNOME;XFCE;LXDE;Unity;
|
||||
Type=Application
|
||||
StartupNotify=false
|
||||
NoDisplay=true
|
||||
X-KDE-autostart-after=panel
|
||||
X-GNOME-Autostart-Phase=Initialization
|
126
autostart/.config/autostart/xfce4-power-manager.desktop
Normal file
126
autostart/.config/autostart/xfce4-power-manager.desktop
Normal file
@ -0,0 +1,126 @@
|
||||
[Desktop Entry]
|
||||
Name=Power Manager
|
||||
Name[ar]=مدير طاقة
|
||||
Name[ast]=Xestor d'enerxía
|
||||
Name[be]=Кіраўнік сілкавання
|
||||
Name[bg]=Управление на захранването
|
||||
Name[ca]=Gestor d'energia
|
||||
Name[cs]=Správa napájení
|
||||
Name[da]=Strømstyring
|
||||
Name[de]=Energieverwaltung
|
||||
Name[el]=Διαχειριστής ρεύματος
|
||||
Name[en_AU]=Power Manager
|
||||
Name[en_GB]=Power Manager
|
||||
Name[es]=Administrador de energía
|
||||
Name[et]=Vooluhaldur
|
||||
Name[eu]=Energia kudeaketa
|
||||
Name[fi]=Virranhallinta
|
||||
Name[fr]=Gestionnaire d’alimentation
|
||||
Name[gl]=Xestor de enerxía
|
||||
Name[he]=מנהל צריכת חשמל
|
||||
Name[hr]=Upravitelj energijom
|
||||
Name[hu]=Energiakezelő
|
||||
Name[hy_AM]=Լիցք
|
||||
Name[id]=Manajer Daya
|
||||
Name[ie]=Gerente de energie
|
||||
Name[is]=Aflstjórnun
|
||||
Name[it]=Gestore dell'energia
|
||||
Name[ja]=電源管理
|
||||
Name[kk]=Электр қоректендіру басқарушысы
|
||||
Name[kn]=ಪವರ್ ಮ್ಯಾನೇಜರ್
|
||||
Name[ko]=전원 관리자
|
||||
Name[lt]=Maitinimo tvarkytuvė
|
||||
Name[ms]=Pengurus Kuasa
|
||||
Name[nb]=Strømstyring
|
||||
Name[nl]=Energiebeheerder
|
||||
Name[nn]=Straumstyring
|
||||
Name[oc]=Gestionari d'alimentacion
|
||||
Name[pa]=ਪਾਵਰ ਮੈਨੇਜਰ
|
||||
Name[pl]=Menedżer zasilania
|
||||
Name[pt]=Gestão de energia
|
||||
Name[pt_BR]=Gerenciador de Energia
|
||||
Name[ro]=Manager de consum
|
||||
Name[ru]=Менеджер питания
|
||||
Name[si]=ශක්ති කළමනාකාරකය
|
||||
Name[sk]=Správca napájania
|
||||
Name[sl]=Upravljalnik porabe energije
|
||||
Name[sq]=Përgjegjës Energjie
|
||||
Name[sr]=Управник потрошње
|
||||
Name[sv]=Strömhanterare
|
||||
Name[te]=విద్యుత్ నిర్వాహకం
|
||||
Name[th]=ระบบจัดการพลังงาน
|
||||
Name[tr]=Güç Yöneticisi
|
||||
Name[ug]=مەنبە باشقۇرغۇ
|
||||
Name[uk]=Менеджер живлення
|
||||
Name[ur]=توانائی منیجر
|
||||
Name[ur_PK]=توانائی منیجر
|
||||
Name[vi]=Trình quản lý năng lượng
|
||||
Name[zh_CN]=电源管理器
|
||||
Name[zh_HK]=電力管理員
|
||||
Name[zh_TW]=電源管理員
|
||||
Comment=Power management for the Xfce desktop
|
||||
Comment[ar]=مدير الطاقة لسطح مكتب إكسفس
|
||||
Comment[ast]=Alministrador d'enerxía pal escritoriu Xfce
|
||||
Comment[be]=Кіраванне сілкаваннем у працоўным асяроддзі Xfce
|
||||
Comment[bg]=Управление на захранването за Xfce среда
|
||||
Comment[ca]=Gestor d'energia per l'escriptori Xfce
|
||||
Comment[cs]=Správa napájení pro prostředí Xfce
|
||||
Comment[da]=Strømstyring til Xfce-skrivebordsmiljøet
|
||||
Comment[de]=Energieverwaltung für die Xfce-Arbeitsumgebung
|
||||
Comment[el]=Διαχείριση ρεύματος για την επιφάνεια εργασίας του xfce
|
||||
Comment[en_AU]=Power management for the Xfce desktop
|
||||
Comment[en_GB]=Power management for the Xfce desktop
|
||||
Comment[es]=Administrador de energía para el escritorio Xfce
|
||||
Comment[et]=Xfce töölaua vooluhaldur
|
||||
Comment[eu]=Xfce mahaigain inguruneko energia kudeatzailea
|
||||
Comment[fi]=Xfce-työpöydän virrankäytön hallinta
|
||||
Comment[fr]=Gestion d’alimentation pour l’environnement de bureau Xfce
|
||||
Comment[gl]=Xestión de enerxía para o escritorio Xfce
|
||||
Comment[he]=ניהול צריכת חשמל עבור שולחן עבודה Xfce
|
||||
Comment[hr]=Upravljanje energijom za Xfce radno okruženje
|
||||
Comment[hu]=Energiagazdálkodás az Xfce környezethez
|
||||
Comment[hy_AM]=Xfce աշխատասեղանի լիցքի կառավարիչ
|
||||
Comment[id]=Manajemen daya untuk desktop Xfce
|
||||
Comment[ie]=Gerentie de energie por li ambientie Xfce
|
||||
Comment[is]=Orkustýring fyrir XFCE-skjáborðsumhverfið
|
||||
Comment[it]=Gestione dell'energia per l'ambiente Xfce
|
||||
Comment[ja]=Xfce デスクトップ用電源管理
|
||||
Comment[kk]=Xfce жұмыс үстел ортасы үшін эл. қорегін басқару
|
||||
Comment[kn]=Xfce ಡೆಸ್ಕ್ಟಾಪ್ಗಾಗಿ ಪವರ್ ನಿರ್ವಹಣೆ
|
||||
Comment[ko]=Xfce 데스크톱의 전원 관리자
|
||||
Comment[lt]=Xfce darbalaukio maitinimo tvarkytuvė
|
||||
Comment[ms]=Pengurusan kuasa untuk desktop Xfce
|
||||
Comment[nb]=Strømstyring for Xfce-skrivebordsmiljøet
|
||||
Comment[nl]=Energiebeheer voor de Xfce-werkomgeving
|
||||
Comment[nn]=Straumstyring for Xfce-skrivebordet
|
||||
Comment[oc]=Gestion d'alimentacion per l'environament de burèu Xfce
|
||||
Comment[pa]=Xfce ਡੈਸਕਟਾਪ ਲਈ ਪਾਵਰ ਮੈਨੇਜਰ
|
||||
Comment[pl]=Zarządza zasilaniem w środowisku Xfce
|
||||
Comment[pt]=Gestão de energia para o Xfce
|
||||
Comment[pt_BR]=Gerenciamento de energia para o Xfce desktop
|
||||
Comment[ro]=Management de consum pentru desktopul Xfce
|
||||
Comment[ru]=Управление питанием для окружения рабочего стола Xfce
|
||||
Comment[si]= Xfce desktop සඳහා ශක්ති කළමණාකාරකය
|
||||
Comment[sk]=Správa napájania pre prostredie Xfce
|
||||
Comment[sl]=Upravljalnik porabe energije za namizje Xfce
|
||||
Comment[sq]=Administrim energjie për desktopin Xfce
|
||||
Comment[sr]=Управник потрошње за ИксФЦЕ радно окружење
|
||||
Comment[sv]=Strömhanterare för Xfce-skrivbordet
|
||||
Comment[te]=Xfce డెస్క్టాప్ కొరకు విద్యుత్ నిర్వాహణ
|
||||
Comment[th]=การจัดการพลังงานสำหรับเดสก์ท็อป Xfce
|
||||
Comment[tr]=Xfce masaüstü için güç yönetimi
|
||||
Comment[ug]=Xfce ئۈستەلئۈستىنىڭ مەنبە باشقۇرغۇ پروگراممىسى
|
||||
Comment[uk]=Менеджер живлення для робочого столу Xfce
|
||||
Comment[ur]=توانائی منیجر پرائے ایکسفس ڈیسک ٹاپ
|
||||
Comment[ur_PK]=توانائی منیجر پرائے ایکسفس ڈیسک ٹاپ
|
||||
Comment[vi]=Quản lý năng lượng cho môi trường Xfce
|
||||
Comment[zh_CN]=Xfce 桌面的电源管理
|
||||
Comment[zh_HK]=Xfce 桌面的電力管理
|
||||
Comment[zh_TW]=Xfce 桌面的電力管理
|
||||
Icon=xfce4-power-manager-settings
|
||||
Exec=xfce4-power-manager
|
||||
Terminal=false
|
||||
Type=Application
|
||||
NotShowIn=GNOME;KDE;Unity;MATE;LXQt;
|
||||
StartupNotify=false
|
||||
|
65
autostart/.config/autostart/xfsettingsd.desktop
Normal file
65
autostart/.config/autostart/xfsettingsd.desktop
Normal file
@ -0,0 +1,65 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Xfsettingsd
|
||||
Comment=The Xfce Settings Daemon
|
||||
Comment[am]=የ Xfce ማሰናጃ እረዳት
|
||||
Comment[ar]=بريمج إعدادات إكسفس
|
||||
Comment[ast]=El degorriu d'axustes Xfce
|
||||
Comment[be]=Дэман налад Xfce
|
||||
Comment[be@tarask]=Сэрвіс наладаў Xfce
|
||||
Comment[bg]=Управлението на настройките на Xfce
|
||||
Comment[ca]=El dimoni del gestor d'ajusts de Xfce
|
||||
Comment[cs]=Démon nastavení prostředí Xfce
|
||||
Comment[da]=Xfce-indstillingsdæmonen
|
||||
Comment[de]=Der Xfce-Einstellungsdienst
|
||||
Comment[el]=Διαχειριστής Ρυθμίσεων Xfce
|
||||
Comment[en_AU]=The Xfce Settings Daemon
|
||||
Comment[en_GB]=The Xfce Settings Daemon
|
||||
Comment[es]=El servicio de configuración de Xfce
|
||||
Comment[eu]=Xfce ezarpen deabrua
|
||||
Comment[fi]=Xfce:n asetustaustaprosessi
|
||||
Comment[fr]=Le démon des paramètres Xfce
|
||||
Comment[gl]=O daemon de configuración de Xfce
|
||||
Comment[he]=תהליך רקע הגדרות של Xfce
|
||||
Comment[hr]=Xfce nadglednik postavki
|
||||
Comment[hu]=Az Xfce beállításkezelő démon
|
||||
Comment[hy_AM]=Xfce֊ի կարգաւորումների աւժանդակ ծրագիր
|
||||
Comment[id]=Jurik Pengaturan Xfce
|
||||
Comment[ie]=Dæmon de parametres de Xfce
|
||||
Comment[is]=XFCE Stillingamiðlarinn
|
||||
Comment[it]=Demone delle impostazioni di Xfce
|
||||
Comment[ja]=Xfce 設定デーモン
|
||||
Comment[kk]=Xfce баптаулар қызметі
|
||||
Comment[ko]=Xfce 설정 데몬
|
||||
Comment[lt]=Xfce nustatymų tarnyba
|
||||
Comment[lv]=Xfce iestatījumu dēmons
|
||||
Comment[ms]=Daemon Tetapan Xfce
|
||||
Comment[nb]=Bakgrunnsprosess for Xfce-innstillinger
|
||||
Comment[nl]=De achtergronddienst voor Xfce-Instellingen
|
||||
Comment[nn]=Xfce-innstillingsnissen
|
||||
Comment[oc]=Los paramètres del demòni Xfce
|
||||
Comment[pl]=Demon ustawień Xfce
|
||||
Comment[pt]=Serviço de definições do Xfce
|
||||
Comment[pt_BR]=O daemon de configurações do Xfce
|
||||
Comment[ro]=Demonul opțiunilor Xfce
|
||||
Comment[ru]=Служба диспетчера настроек Xfce
|
||||
Comment[sk]=Démon nastavenia Xfce
|
||||
Comment[sl]=Strežnik za Xfce nastavitve
|
||||
Comment[sq]=Demoni i Rregullimeve Xfce
|
||||
Comment[sr]=Домар поставки Иксфце-а
|
||||
Comment[sv]=Inställningshanteraren för Xfce
|
||||
Comment[te]=Xfce అమరికల డెమోన్
|
||||
Comment[th]=ดีมอนค่าตั้งของ Xfce
|
||||
Comment[tr]=Xfce Ayarlar Süreci
|
||||
Comment[ug]=تەڭشەك مۇئەككىلى
|
||||
Comment[uk]=Демон параметрів Xfce
|
||||
Comment[zh_CN]=Xfce 设置守护进程
|
||||
Comment[zh_HK]=Xfce 4 設定幕後程式
|
||||
Comment[zh_TW]=Xfce 4 設定幕後程式
|
||||
Exec=xfsettingsd
|
||||
Icon=applications-system
|
||||
Terminal=false
|
||||
Type=Application
|
||||
StartupNotify=false
|
||||
OnlyShowIn=XFCE;
|
||||
|
15
composer/.config/composer/composer.json
Normal file
15
composer/.config/composer/composer.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true,
|
||||
"require": {
|
||||
"friendsofphp/php-cs-fixer": "^2.12",
|
||||
"squizlabs/php_codesniffer": "^3.4",
|
||||
"phpmd/phpmd": "^2.7",
|
||||
"kubawerlos/composer-json-fixer": "^2.1",
|
||||
"hirak/prestissimo": "^0.3",
|
||||
"consolidation/cgr": "^2.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpstan/phpstan": "^0.11.12"
|
||||
}
|
||||
}
|
146
etc/apt/apt.conf.d/50unattended-upgrades
Normal file
146
etc/apt/apt.conf.d/50unattended-upgrades
Normal file
@ -0,0 +1,146 @@
|
||||
// Unattended-Upgrade::Origins-Pattern controls which packages are
|
||||
// upgraded.
|
||||
//
|
||||
// Lines below have the format format is "keyword=value,...". A
|
||||
// package will be upgraded only if the values in its metadata match
|
||||
// all the supplied keywords in a line. (In other words, omitted
|
||||
// keywords are wild cards.) The keywords originate from the Release
|
||||
// file, but several aliases are accepted. The accepted keywords are:
|
||||
// a,archive,suite (eg, "stable")
|
||||
// c,component (eg, "main", "contrib", "non-free")
|
||||
// l,label (eg, "Debian", "Debian-Security")
|
||||
// o,origin (eg, "Debian", "Unofficial Multimedia Packages")
|
||||
// n,codename (eg, "jessie", "jessie-updates")
|
||||
// site (eg, "http.debian.net")
|
||||
// The available values on the system are printed by the command
|
||||
// "apt-cache policy", and can be debugged by running
|
||||
// "unattended-upgrades -d" and looking at the log file.
|
||||
//
|
||||
// Within lines unattended-upgrades allows 2 macros whose values are
|
||||
// derived from /etc/debian_version:
|
||||
// ${distro_id} Installed origin.
|
||||
// ${distro_codename} Installed codename (eg, "buster")
|
||||
Unattended-Upgrade::Origins-Pattern {
|
||||
// Codename based matching:
|
||||
// This will follow the migration of a release through different
|
||||
// archives (e.g. from testing to stable and later oldstable).
|
||||
// Software will be the latest available for the named release,
|
||||
// but the Debian release itself will not be automatically upgraded.
|
||||
// "origin=Debian,codename=${distro_codename}-updates";
|
||||
// "origin=Debian,codename=${distro_codename}-proposed-updates";
|
||||
"origin=Debian,codename=${distro_codename},label=Debian";
|
||||
"origin=Debian,codename=${distro_codename},label=Debian-Security";
|
||||
|
||||
// Archive or Suite based matching:
|
||||
// Note that this will silently match a different release after
|
||||
// migration to the specified archive (e.g. testing becomes the
|
||||
// new stable).
|
||||
// "o=Debian,a=stable";
|
||||
// "o=Debian,a=stable-updates";
|
||||
// "o=Debian,a=proposed-updates";
|
||||
// "o=Debian Backports,a=${distro_codename}-backports,l=Debian Backports";
|
||||
};
|
||||
|
||||
// Python regular expressions, matching packages to exclude from upgrading
|
||||
Unattended-Upgrade::Package-Blacklist {
|
||||
// The following matches all packages starting with linux-
|
||||
// "linux-";
|
||||
|
||||
// Use $ to explicitely define the end of a package name. Without
|
||||
// the $, "libc6" would match all of them.
|
||||
// "libc6$";
|
||||
// "libc6-dev$";
|
||||
// "libc6-i686$";
|
||||
|
||||
// Special characters need escaping
|
||||
// "libstdc\+\+6$";
|
||||
|
||||
// The following matches packages like xen-system-amd64, xen-utils-4.1,
|
||||
// xenstore-utils and libxenstore3.0
|
||||
// "(lib)?xen(store)?";
|
||||
|
||||
// For more information about Python regular expressions, see
|
||||
// https://docs.python.org/3/howto/regex.html
|
||||
};
|
||||
|
||||
// This option allows you to control if on a unclean dpkg exit
|
||||
// unattended-upgrades will automatically run
|
||||
// dpkg --force-confold --configure -a
|
||||
// The default is true, to ensure updates keep getting installed
|
||||
//Unattended-Upgrade::AutoFixInterruptedDpkg "true";
|
||||
|
||||
// Split the upgrade into the smallest possible chunks so that
|
||||
// they can be interrupted with SIGTERM. This makes the upgrade
|
||||
// a bit slower but it has the benefit that shutdown while a upgrade
|
||||
// is running is possible (with a small delay)
|
||||
//Unattended-Upgrade::MinimalSteps "true";
|
||||
|
||||
// Install all updates when the machine is shutting down
|
||||
// instead of doing it in the background while the machine is running.
|
||||
// This will (obviously) make shutdown slower.
|
||||
// Unattended-upgrades increases logind's InhibitDelayMaxSec to 30s.
|
||||
// This allows more time for unattended-upgrades to shut down gracefully
|
||||
// or even install a few packages in InstallOnShutdown mode, but is still a
|
||||
// big step back from the 30 minutes allowed for InstallOnShutdown previously.
|
||||
// Users enabling InstallOnShutdown mode are advised to increase
|
||||
// InhibitDelayMaxSec even further, possibly to 30 minutes.
|
||||
//Unattended-Upgrade::InstallOnShutdown "false";
|
||||
|
||||
// Send email to this address for problems or packages upgrades
|
||||
// If empty or unset then no email is sent, make sure that you
|
||||
// have a working mail setup on your system. A package that provides
|
||||
// 'mailx' must be installed. E.g. "user@example.com"
|
||||
//Unattended-Upgrade::Mail "";
|
||||
|
||||
// Set this value to "true" to get emails only on errors. Default
|
||||
// is to always send a mail if Unattended-Upgrade::Mail is set
|
||||
//Unattended-Upgrade::MailOnlyOnError "false";
|
||||
|
||||
// Remove unused automatically installed kernel-related packages
|
||||
// (kernel images, kernel headers and kernel version locked tools).
|
||||
//Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
|
||||
|
||||
// Do automatic removal of newly unused dependencies after the upgrade
|
||||
//Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
|
||||
|
||||
// Do automatic removal of unused packages after the upgrade
|
||||
// (equivalent to apt-get autoremove)
|
||||
//Unattended-Upgrade::Remove-Unused-Dependencies "false";
|
||||
|
||||
// Automatically reboot *WITHOUT CONFIRMATION* if
|
||||
// the file /var/run/reboot-required is found after the upgrade
|
||||
//Unattended-Upgrade::Automatic-Reboot "false";
|
||||
|
||||
// Automatically reboot even if there are users currently logged in
|
||||
// when Unattended-Upgrade::Automatic-Reboot is set to true
|
||||
//Unattended-Upgrade::Automatic-Reboot-WithUsers "true";
|
||||
|
||||
// If automatic reboot is enabled and needed, reboot at the specific
|
||||
// time instead of immediately
|
||||
// Default: "now"
|
||||
//Unattended-Upgrade::Automatic-Reboot-Time "02:00";
|
||||
|
||||
// Use apt bandwidth limit feature, this example limits the download
|
||||
// speed to 70kb/sec
|
||||
//Acquire::http::Dl-Limit "70";
|
||||
|
||||
// Enable logging to syslog. Default is False
|
||||
// Unattended-Upgrade::SyslogEnable "false";
|
||||
|
||||
// Specify syslog facility. Default is daemon
|
||||
// Unattended-Upgrade::SyslogFacility "daemon";
|
||||
|
||||
// Download and install upgrades only on AC power
|
||||
// (i.e. skip or gracefully stop updates on battery)
|
||||
// Unattended-Upgrade::OnlyOnACPower "true";
|
||||
|
||||
// Download and install upgrades only on non-metered connection
|
||||
// (i.e. skip or gracefully stop updates on a metered connection)
|
||||
// Unattended-Upgrade::Skip-Updates-On-Metered-Connections "true";
|
||||
|
||||
// Verbose logging
|
||||
// Unattended-Upgrade::Verbose "false";
|
||||
|
||||
// Print debugging information both in unattended-upgrades and
|
||||
// in unattended-upgrade-shutdown
|
||||
// Unattended-Upgrade::Debug "false";
|
6
etc/apt/preferences.d/oldstable.pref
Normal file
6
etc/apt/preferences.d/oldstable.pref
Normal file
@ -0,0 +1,6 @@
|
||||
# 0 < P < 100: causes a version to be installed only if there is no
|
||||
# installed version of the package
|
||||
|
||||
Package: *
|
||||
Pin: release a=oldstable
|
||||
Pin-Priority: 40
|
6
etc/apt/preferences.d/pentest.pref
Normal file
6
etc/apt/preferences.d/pentest.pref
Normal file
@ -0,0 +1,6 @@
|
||||
# 0 < P < 100: causes a version to be installed only if there is no
|
||||
# installed version of the package
|
||||
|
||||
Package: *
|
||||
Pin: release a=pentest
|
||||
Pin-Priority: 45
|
8
etc/apt/preferences.d/stable.pref
Normal file
8
etc/apt/preferences.d/stable.pref
Normal file
@ -0,0 +1,8 @@
|
||||
# 500 <= P < 990: causes a version to be installed unless there is a
|
||||
# version available belonging to the target release or the installed
|
||||
# version is more recent
|
||||
|
||||
Package: *
|
||||
Pin: release a=stable
|
||||
Pin-Priority: 900
|
||||
|
7
etc/apt/preferences.d/testing.pref
Normal file
7
etc/apt/preferences.d/testing.pref
Normal file
@ -0,0 +1,7 @@
|
||||
# 100 <= P < 500: causes a version to be installed unless there is a
|
||||
# version available belonging to some other distribution or the installed
|
||||
# version is more recent
|
||||
|
||||
Package: *
|
||||
Pin: release a=testing
|
||||
Pin-Priority: 400
|
6
etc/apt/preferences.d/unstable.pref
Normal file
6
etc/apt/preferences.d/unstable.pref
Normal file
@ -0,0 +1,6 @@
|
||||
# 0 < P < 100: causes a version to be installed only if there is no
|
||||
# installed version of the package
|
||||
|
||||
Package: *
|
||||
Pin: release a=unstable
|
||||
Pin-Priority: 50
|
0
etc/apt/sources.list
Normal file
0
etc/apt/sources.list
Normal file
1
etc/apt/sources.list.d/insomnia.list
Normal file
1
etc/apt/sources.list.d/insomnia.list
Normal file
@ -0,0 +1 @@
|
||||
deb https://dl.bintray.com/getinsomnia/Insomnia /
|
2
etc/apt/sources.list.d/nextcloud-client.list
Normal file
2
etc/apt/sources.list.d/nextcloud-client.list
Normal file
@ -0,0 +1,2 @@
|
||||
deb http://ppa.launchpad.net/nextcloud-devs/client/ubuntu zesty main
|
||||
deb-src http://ppa.launchpad.net/nextcloud-devs/client/ubuntu zesty main
|
21
etc/apt/sources.list.d/oldstable.list
Normal file
21
etc/apt/sources.list.d/oldstable.list
Normal file
@ -0,0 +1,21 @@
|
||||
#
|
||||
|
||||
# deb cdrom:[Debian GNU/Linux 10.5.0 _Buster_ - Official amd64 xfce-CD Binary-1 20200801-11:35]/ stretch main contrib non-free
|
||||
|
||||
#deb cdrom:[Debian GNU/Linux 10.5.0 _Buster_ - Official amd64 xfce-CD Binary-1 20200801-11:35]/ stretch main contrib non-free
|
||||
|
||||
deb http://deb.debian.org/debian/ stretch main contrib non-free
|
||||
deb-src http://deb.debian.org/debian/ stretch main contrib non-free
|
||||
|
||||
deb http://security.debian.org/debian-security stretch/updates main contrib non-free
|
||||
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free
|
||||
|
||||
# stretch-updates, previously known as 'volatile'
|
||||
deb http://deb.debian.org/debian/ stretch-updates main contrib non-free
|
||||
deb-src http://deb.debian.org/debian/ stretch-updates main contrib non-free
|
||||
|
||||
# This system was installed using small removable media
|
||||
# (e.g. netinst, live or single CD). The matching "deb cdrom"
|
||||
# entries were disabled at the end of the installation process.
|
||||
# For information about how to configure apt package sources,
|
||||
# see the sources.list(5) manual.
|
8
etc/apt/sources.list.d/pentest.list
Normal file
8
etc/apt/sources.list.d/pentest.list
Normal file
@ -0,0 +1,8 @@
|
||||
# Metasploit Framework
|
||||
#deb http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid main
|
||||
|
||||
# Parrot
|
||||
#deb https://deb.parrotlinux.org/parrot/ rolling main contrib non-free
|
||||
#deb-src https://deb.parrotlinux.org/parrot/ rolling main contrib non-free
|
||||
#deb https://deb.parrotlinux.org/parrot/ rolling-security main contrib non-free
|
||||
#deb-src https://deb.parrotlinux.org/parrot/ rolling-security main contrib non-free
|
12
etc/apt/sources.list.d/stable.list
Normal file
12
etc/apt/sources.list.d/stable.list
Normal file
@ -0,0 +1,12 @@
|
||||
deb http://deb.debian.org/debian/ stable main non-free contrib
|
||||
deb-src http://deb.debian.org/debian/ stable main non-free contrib
|
||||
|
||||
deb http://security.debian.org/debian-security stable/updates main contrib non-free
|
||||
deb-src http://security.debian.org/debian-security stable/updates main contrib non-free
|
||||
|
||||
# stable-updates, previously known as 'volatile'
|
||||
deb http://deb.debian.org/debian/ stable-updates main contrib non-free
|
||||
deb-src http://deb.debian.org/debian/ stable-updates main contrib non-free
|
||||
|
||||
# For information about how to configure apt package sources,
|
||||
# see the sources.list(5) manual.
|
8
etc/apt/sources.list.d/testing.list
Normal file
8
etc/apt/sources.list.d/testing.list
Normal file
@ -0,0 +1,8 @@
|
||||
deb http://deb.debian.org/debian testing main contrib non-free
|
||||
deb-src http://deb.debian.org/debian testing main contrib non-free
|
||||
|
||||
deb http://deb.debian.org/debian-security/ testing-security main contrib non-free
|
||||
deb-src http://deb.debian.org/debian-security/ testing-security main contrib non-free
|
||||
|
||||
deb http://deb.debian.org/debian testing-updates main contrib non-free
|
||||
deb-src http://deb.debian.org/debian testing-updates main contrib non-free
|
2
etc/apt/sources.list.d/unstable.list
Normal file
2
etc/apt/sources.list.d/unstable.list
Normal file
@ -0,0 +1,2 @@
|
||||
deb http://deb.debian.org/debian unstable main contrib non-free
|
||||
deb-src http://deb.debian.org/debian unstable main contrib non-free
|
1
etc/apt/sources.list.d/virtualbox.list
Normal file
1
etc/apt/sources.list.d/virtualbox.list
Normal file
@ -0,0 +1 @@
|
||||
deb http://download.virtualbox.org/virtualbox/debian buster contrib
|
149
geany/.config/geany/colorschemes/darcula.conf
Normal file
149
geany/.config/geany/colorschemes/darcula.conf
Normal file
@ -0,0 +1,149 @@
|
||||
#
|
||||
# Copyright 2015 Jiri Techet <techet(at)gmail(dot)com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
# MA 02110-1301, USA.
|
||||
#
|
||||
# Ported from the IntelliJ Darcula theme by Jiri Techet
|
||||
#
|
||||
|
||||
[theme_info]
|
||||
name=Darcula
|
||||
description=A soft dark theme based on the IntelliJ Darcula theme.
|
||||
# incremented automatically, do not change manually
|
||||
version=1
|
||||
author=Jiri Techet <techet(at)gmail(dot)com>
|
||||
url=https://github.com/codebrainz/geany-themes
|
||||
# list of each compatible Geany release version
|
||||
compat=1.22;1.23;1.23.1;1.24
|
||||
|
||||
[named_colors]
|
||||
fg=#b6c3cf
|
||||
bg=#3b3b3b
|
||||
|
||||
caret_grey=#c6c6c6
|
||||
margin_fg_grey=#989898
|
||||
comment_grey=#919191
|
||||
fold_fg_grey=#888
|
||||
whitespace_grey=#505050
|
||||
calltip_fg_grey=#555
|
||||
calltip_bg_grey=#ddd
|
||||
fold_bg_grey=#4c4c4c
|
||||
current_line_grey=#434343
|
||||
margin_bg_grey=#424446
|
||||
|
||||
type_violet=#a88ab6
|
||||
keyword_blue=#9196bf
|
||||
number_blue=#7aa6c4
|
||||
selection_blue=#2f5692
|
||||
brace_bg_green=#4d6360
|
||||
diff_added_green=#558266
|
||||
docstring_green=#73a46a
|
||||
string_green=#b2ca78
|
||||
alert_yellow=#ffef4c
|
||||
tag_yellow=#edc881
|
||||
keyword_orange=#d58a4a
|
||||
error_red=#c85550
|
||||
diff_removed_red=#a0665b
|
||||
|
||||
[named_styles]
|
||||
|
||||
default=fg;bg;false;false
|
||||
error=error_red;;;true
|
||||
|
||||
# Editor styles
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
selection=;selection_blue;;true
|
||||
current_line=;current_line_grey;true
|
||||
brace_good=alert_yellow;brace_bg_green;true
|
||||
brace_bad=error_red;current_line_grey;true
|
||||
margin_line_number=margin_fg_grey;margin_bg_grey
|
||||
margin_folding=fold_fg_grey;fold_bg_grey
|
||||
fold_symbol_highlight=fold_bg_grey
|
||||
indent_guide=whitespace_grey
|
||||
caret=caret_grey
|
||||
marker_line=margin_bg_grey;alert_yellow
|
||||
marker_search=;alert_yellow
|
||||
marker_mark=margin_bg_grey;alert_yellow
|
||||
call_tips=calltip_fg_grey;calltip_bg_grey;true;true
|
||||
white_space=whitespace_grey;;true
|
||||
|
||||
# Programming languages
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
comment=comment_grey
|
||||
comment_doc=docstring_green
|
||||
comment_line=comment
|
||||
comment_line_doc=comment_doc
|
||||
comment_doc_keyword=comment_doc,bold
|
||||
comment_doc_keyword_error=comment_doc,italic
|
||||
|
||||
number=number_blue
|
||||
number_1=number
|
||||
number_2=number_1
|
||||
|
||||
type=type_violet
|
||||
class=type
|
||||
function=tag_yellow
|
||||
parameter=function
|
||||
|
||||
keyword=keyword_orange
|
||||
keyword_1=keyword
|
||||
keyword_2=keyword_blue
|
||||
keyword_3=keyword_1
|
||||
keyword_4=keyword_1
|
||||
|
||||
identifier=default
|
||||
identifier_1=identifier
|
||||
identifier_2=identifier_1
|
||||
identifier_3=identifier_1
|
||||
identifier_4=identifier_1
|
||||
|
||||
string=string_green
|
||||
string_1=string
|
||||
string_2=string_1
|
||||
string_3=default
|
||||
string_4=default
|
||||
string_eol=string_1,italic
|
||||
character=string_1
|
||||
backticks=string_2
|
||||
here_doc=string_2
|
||||
|
||||
scalar=string_2
|
||||
label=default,bold
|
||||
preprocessor=tag_yellow
|
||||
regex=number_1
|
||||
operator=default
|
||||
decorator=tag_yellow
|
||||
other=default
|
||||
|
||||
# Markup-type languages
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
tag=tag_yellow
|
||||
tag_unknown=tag
|
||||
tag_end=tag
|
||||
attribute=keyword_orange
|
||||
attribute_unknown=attribute
|
||||
value=string_green
|
||||
entity=number_blue
|
||||
|
||||
# Diff
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
line_added=diff_added_green
|
||||
line_removed=diff_removed_red
|
||||
line_changed=preprocessor
|
217
geany/.config/geany/geany.conf
Normal file
217
geany/.config/geany/geany.conf
Normal file
@ -0,0 +1,217 @@
|
||||
[geany]
|
||||
default_open_path=
|
||||
cmdline_new_files=true
|
||||
notebook_double_click_hides_widgets=false
|
||||
tab_close_switch_to_mru=false
|
||||
tab_pos_sidebar=2
|
||||
sidebar_pos=0
|
||||
symbols_sort_mode=0
|
||||
msgwin_orientation=1
|
||||
highlighting_invert_all=false
|
||||
pref_main_search_use_current_word=true
|
||||
check_detect_indent=true
|
||||
detect_indent_width=true
|
||||
use_tab_to_indent=true
|
||||
pref_editor_tab_width=8
|
||||
indent_mode=2
|
||||
indent_type=0
|
||||
virtualspace=1
|
||||
autocomplete_doc_words=false
|
||||
completion_drops_rest_of_word=false
|
||||
autocompletion_max_entries=30
|
||||
autocompletion_update_freq=250
|
||||
color_scheme=darcula.conf
|
||||
scroll_lines_around_cursor=0
|
||||
mru_length=10
|
||||
disk_check_timeout=30
|
||||
show_editor_scrollbars=true
|
||||
brace_match_ltgt=false
|
||||
use_gtk_word_boundaries=true
|
||||
complete_snippets_whilst_editing=false
|
||||
use_atomic_file_saving=false
|
||||
gio_unsafe_save_backup=false
|
||||
use_gio_unsafe_file_saving=true
|
||||
keep_edit_history_on_reload=true
|
||||
show_keep_edit_history_on_reload_msg=false
|
||||
indent_hard_tab_width=8
|
||||
find_selection_type=0
|
||||
extract_filetype_regex=-\\*-\\s*([^\\s]+)\\s*-\\*-
|
||||
replace_and_find_by_default=true
|
||||
show_symbol_list_expanders=true
|
||||
compiler_tab_autoscroll=true
|
||||
allow_always_save=false
|
||||
statusbar_template=line: %l / %L col: %c sel: %s %w %t %mmode: %M encoding: %e filetype: %f scope: %S
|
||||
new_document_after_close=false
|
||||
msgwin_status_visible=true
|
||||
msgwin_compiler_visible=true
|
||||
msgwin_messages_visible=true
|
||||
msgwin_scribble_visible=true
|
||||
documents_show_paths=true
|
||||
sidebar_page=0
|
||||
pref_main_load_session=true
|
||||
pref_main_project_session=true
|
||||
pref_main_project_file_in_basedir=false
|
||||
pref_main_save_winpos=true
|
||||
pref_main_confirm_exit=false
|
||||
pref_main_suppress_status_messages=false
|
||||
switch_msgwin_pages=false
|
||||
beep_on_errors=true
|
||||
auto_focus=false
|
||||
sidebar_symbol_visible=true
|
||||
sidebar_openfiles_visible=true
|
||||
editor_font=Hack 12
|
||||
tagbar_font=Hack 12
|
||||
msgwin_font=Hack 12
|
||||
show_notebook_tabs=true
|
||||
show_tab_cross=true
|
||||
tab_order_ltr=true
|
||||
tab_order_beside=false
|
||||
tab_pos_editor=2
|
||||
tab_pos_msgwin=0
|
||||
use_native_windows_dialogs=false
|
||||
show_indent_guide=true
|
||||
show_white_space=false
|
||||
show_line_endings=false
|
||||
show_markers_margin=true
|
||||
show_linenumber_margin=true
|
||||
long_line_enabled=true
|
||||
long_line_type=0
|
||||
long_line_column=80
|
||||
long_line_color=#C2EBC2
|
||||
symbolcompletion_max_height=10
|
||||
symbolcompletion_min_chars=4
|
||||
use_folding=true
|
||||
unfold_all_children=false
|
||||
use_indicators=true
|
||||
line_wrapping=false
|
||||
auto_close_xml_tags=false
|
||||
complete_snippets=true
|
||||
auto_complete_symbols=true
|
||||
pref_editor_disable_dnd=false
|
||||
pref_editor_smart_home_key=true
|
||||
pref_editor_newline_strip=false
|
||||
line_break_column=80
|
||||
auto_continue_multiline=true
|
||||
comment_toggle_mark=~
|
||||
scroll_stop_at_last_line=true
|
||||
autoclose_chars=0
|
||||
pref_editor_default_new_encoding=UTF-8
|
||||
pref_editor_default_open_encoding=None
|
||||
default_eol_character=2
|
||||
pref_editor_new_line=true
|
||||
pref_editor_ensure_convert_line_endings=false
|
||||
pref_editor_replace_tabs=false
|
||||
pref_editor_trail_space=false
|
||||
pref_toolbar_show=true
|
||||
pref_toolbar_append_to_menu=false
|
||||
pref_toolbar_use_gtk_default_style=true
|
||||
pref_toolbar_use_gtk_default_icon=true
|
||||
pref_toolbar_icon_style=0
|
||||
pref_toolbar_icon_size=0
|
||||
pref_template_developer=Tony Stark
|
||||
pref_template_company=
|
||||
pref_template_mail=xellos@N240BU
|
||||
pref_template_initial=TS
|
||||
pref_template_version=1.0
|
||||
pref_template_year=%Y
|
||||
pref_template_date=%Y-%m-%d
|
||||
pref_template_datetime=%d.%m.%Y %H:%M:%S %Z
|
||||
context_action_cmd=
|
||||
sidebar_visible=true
|
||||
statusbar_visible=true
|
||||
msgwindow_visible=true
|
||||
fullscreen=false
|
||||
scribble_text=Type here what you want, use it as a notice/scratch board
|
||||
scribble_pos=57
|
||||
treeview_position=0
|
||||
msgwindow_position=944
|
||||
geometry=0;40;959;1019;1;
|
||||
custom_date_format=
|
||||
|
||||
[build-menu]
|
||||
number_ft_menu_items=0
|
||||
number_non_ft_menu_items=0
|
||||
number_exec_menu_items=0
|
||||
|
||||
[search]
|
||||
pref_search_hide_find_dialog=false
|
||||
pref_search_always_wrap=false
|
||||
pref_search_current_file_dir=true
|
||||
find_all_expanded=true
|
||||
replace_all_expanded=true
|
||||
position_find_x=1291
|
||||
position_find_y=372
|
||||
position_replace_x=679
|
||||
position_replace_y=384
|
||||
position_fif_x=-1
|
||||
position_fif_y=-1
|
||||
fif_regexp=false
|
||||
fif_case_sensitive=true
|
||||
fif_match_whole_word=false
|
||||
fif_invert_results=false
|
||||
fif_recursive=false
|
||||
fif_extra_options=
|
||||
fif_use_extra_options=false
|
||||
fif_files=
|
||||
fif_files_mode=0
|
||||
find_regexp=false
|
||||
find_regexp_multiline=false
|
||||
find_case_sensitive=false
|
||||
find_escape_sequences=false
|
||||
find_match_whole_word=false
|
||||
find_match_word_start=false
|
||||
find_close_dialog=true
|
||||
replace_regexp=false
|
||||
replace_regexp_multiline=false
|
||||
replace_case_sensitive=true
|
||||
replace_escape_sequences=false
|
||||
replace_match_whole_word=false
|
||||
replace_match_word_start=false
|
||||
replace_search_backwards=false
|
||||
replace_close_dialog=false
|
||||
|
||||
[plugins]
|
||||
load_plugins=true
|
||||
custom_plugin_path=
|
||||
active_plugins=;
|
||||
|
||||
[VTE]
|
||||
send_cmd_prefix=
|
||||
send_selection_unsafe=false
|
||||
load_vte=true
|
||||
font=Hack 12
|
||||
scroll_on_key=true
|
||||
scroll_on_out=true
|
||||
enable_bash_keys=true
|
||||
ignore_menu_bar_accel=false
|
||||
follow_path=false
|
||||
run_in_vte=false
|
||||
skip_run_script=false
|
||||
cursor_blinks=false
|
||||
scrollback_lines=500
|
||||
shell=/bin/zsh
|
||||
colour_fore=#FFFFFF
|
||||
colour_back=#000000
|
||||
|
||||
[tools]
|
||||
terminal_cmd=x-terminal-emulator -e "/bin/sh %c"
|
||||
browser_cmd=sensible-browser
|
||||
grep_cmd=grep
|
||||
|
||||
[printing]
|
||||
print_cmd=lpr '%f'
|
||||
use_gtk_printing=true
|
||||
print_line_numbers=true
|
||||
print_page_numbers=true
|
||||
print_page_header=true
|
||||
page_header_basename=false
|
||||
page_header_datefmt=%c
|
||||
|
||||
[project]
|
||||
session_file=
|
||||
project_file_path=/home/workspace/Projects
|
||||
|
||||
[files]
|
||||
recent_files=
|
||||
recent_projects=
|
||||
current_page=-1
|
2
ghc/.config/ghc/ghci.conf
Normal file
2
ghc/.config/ghc/ghci.conf
Normal file
@ -0,0 +1,2 @@
|
||||
:set prompt "ghci> "
|
||||
:set editor vim
|
8
git/.git_template/hooks/ctags
Executable file
8
git/.git_template/hooks/ctags
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Create ctags into the git directory
|
||||
set -e
|
||||
dir="`git rev-parse --git-dir`"
|
||||
trap 'rm -f "$dir/$$.tags"' EXIT
|
||||
ctags --tag-relative=yes -R -f "$dir/$$.tags" --fields=+aimlS --languages=php --PHP-kinds=+cdfint-av --exclude=composer.phar --exclude=*Test.php --exclude=*phpunit* --exclude="\.git"
|
||||
mv "$dir/$$.tags" "$dir/tags"
|
1
git/.git_template/hooks/go-pre-commit
Executable file
1
git/.git_template/hooks/go-pre-commit
Executable file
@ -0,0 +1 @@
|
||||
golangci-lint run -p bugs,unused --disable=scopelint
|
2
git/.git_template/hooks/post-checkout
Executable file
2
git/.git_template/hooks/post-checkout
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
.git/hooks/ctags >/dev/null 2>&1 &
|
2
git/.git_template/hooks/post-merge
Executable file
2
git/.git_template/hooks/post-merge
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
.git/hooks/ctags >/dev/null 2>&1 &
|
45
git/.gitconfig
Normal file
45
git/.gitconfig
Normal file
@ -0,0 +1,45 @@
|
||||
[user]
|
||||
name = Diogo Peralta Cordeiro
|
||||
email = mail@diogo.site
|
||||
[core]
|
||||
editor = nvim
|
||||
excludesfile = ~/.gitignore_global
|
||||
[credential]
|
||||
helper = cache --timeout=3600
|
||||
[alias]
|
||||
ctags = !.git/hooks/ctags
|
||||
[init]
|
||||
templatedir = ~/.git_template
|
||||
[log]
|
||||
decorate = short
|
||||
[color]
|
||||
ui = true
|
||||
[color "diff-highlight"]
|
||||
oldNormal = red bold
|
||||
oldHighlight = red bold 52
|
||||
newNormal = green bold
|
||||
newHighlight = green bold 22
|
||||
[pull]
|
||||
rebase = true
|
||||
[push]
|
||||
default = simple
|
||||
[alias]
|
||||
fixup = "!sh -c '(git diff-files --quiet || (echo Unstaged changes, please commit or stash with --keep-index; exit 1)) && COMMIT=$(git rev-parse $1) && git commit --fixup=$COMMIT && git rebase -i --autosquash $COMMIT~1' -"
|
||||
lg = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
|
||||
# Clone git repos with URLs like "gh:alexpearce/dotfiles"
|
||||
[url "https://github.com/"]
|
||||
insteadOf = "gh:"
|
||||
[url "git@github.com:"]
|
||||
pushInsteadOf = "gh:"
|
||||
# Clone Arch User Repository repos with URLs like "aur:neomutt"
|
||||
[url "https://aur.archlinux.org/"]
|
||||
insteadOf = "aur:"
|
||||
[merge]
|
||||
tool = nvim
|
||||
[mergetool "nvim"]
|
||||
cmd = nvim -f -c \"Gdiff\" \"$MERGED\"
|
||||
[rebase]
|
||||
autosquash = true
|
||||
instructionFormat = "(%an <%ae>) %s"
|
||||
[status]
|
||||
showUntrackedFiles = all
|
202
git/.gitignore_global
Normal file
202
git/.gitignore_global
Normal file
@ -0,0 +1,202 @@
|
||||
# Personal preferences #
|
||||
########################
|
||||
.idea/
|
||||
.php_cs.cache
|
||||
|
||||
# Compiled source #
|
||||
###################
|
||||
*.com
|
||||
*.class
|
||||
*.dll
|
||||
*.exe
|
||||
*.o
|
||||
*.so
|
||||
|
||||
# Packages #
|
||||
############
|
||||
# it's better to unpack these files and commit the raw source
|
||||
# git has its own built in compression methods
|
||||
*.7z
|
||||
*.dmg
|
||||
*.gz
|
||||
*.iso
|
||||
*.jar
|
||||
*.rar
|
||||
*.tar
|
||||
*.zip
|
||||
|
||||
# Logs and databases #
|
||||
######################
|
||||
*.log
|
||||
*.sql
|
||||
*.sqlite
|
||||
|
||||
# OS generated files #
|
||||
######################
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
._*
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
|
||||
# IDEs #
|
||||
########
|
||||
|
||||
# Vim
|
||||
|
||||
# Swap
|
||||
[._]*.s[a-v][a-z]
|
||||
[._]*.sw[a-p]
|
||||
[._]s[a-rt-v][a-z]
|
||||
[._]ss[a-gi-z]
|
||||
[._]sw[a-p]
|
||||
|
||||
# Session
|
||||
Session.vim
|
||||
|
||||
# Temporary
|
||||
.netrwhist
|
||||
*~
|
||||
# Auto-generated tag files
|
||||
tags
|
||||
tags.lock
|
||||
tags.temp
|
||||
GTAGS
|
||||
GPATH
|
||||
GRTAGS
|
||||
# Persistent undo
|
||||
[._]*.un~
|
||||
|
||||
|
||||
# Emacs
|
||||
|
||||
# -*- mode: gitignore; -*-
|
||||
*~
|
||||
\#*\#
|
||||
/.emacs.desktop
|
||||
/.emacs.desktop.lock
|
||||
*.elc
|
||||
auto-save-list
|
||||
tramp
|
||||
.\#*
|
||||
|
||||
# Org-mode
|
||||
.org-id-locations
|
||||
*_archive
|
||||
|
||||
# flymake-mode
|
||||
*_flymake.*
|
||||
|
||||
# eshell files
|
||||
/eshell/history
|
||||
/eshell/lastdir
|
||||
|
||||
# elpa packages
|
||||
/elpa/
|
||||
|
||||
# reftex files
|
||||
*.rel
|
||||
|
||||
# AUCTeX auto folder
|
||||
/auto/
|
||||
|
||||
# cask packages
|
||||
.cask/
|
||||
dist/
|
||||
|
||||
# Flycheck
|
||||
flycheck_*.el
|
||||
|
||||
# server auth directory
|
||||
/server/
|
||||
|
||||
# projectiles files
|
||||
.projectile
|
||||
|
||||
# directory configuration
|
||||
.dir-locals.el
|
||||
|
||||
# network security
|
||||
/network-security.data
|
||||
|
||||
|
||||
# Netbeans
|
||||
|
||||
**/nbproject/private/
|
||||
**/nbproject/Makefile-*.mk
|
||||
**/nbproject/Package-*.bash
|
||||
build/
|
||||
nbbuild/
|
||||
dist/
|
||||
nbdist/
|
||||
.nb-gradle/
|
||||
|
||||
|
||||
# JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
|
||||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||
|
||||
# User-specific stuff
|
||||
.idea/**/workspace.xml
|
||||
.idea/**/tasks.xml
|
||||
.idea/**/usage.statistics.xml
|
||||
.idea/**/dictionaries
|
||||
.idea/**/shelf
|
||||
|
||||
# Generated files
|
||||
.idea/**/contentModel.xml
|
||||
|
||||
# Sensitive or high-churn files
|
||||
.idea/**/dataSources/
|
||||
.idea/**/dataSources.ids
|
||||
.idea/**/dataSources.local.xml
|
||||
.idea/**/sqlDataSources.xml
|
||||
.idea/**/dynamic.xml
|
||||
.idea/**/uiDesigner.xml
|
||||
.idea/**/dbnavigator.xml
|
||||
|
||||
# Gradle
|
||||
.idea/**/gradle.xml
|
||||
.idea/**/libraries
|
||||
|
||||
# Gradle and Maven with auto-import
|
||||
# When using Gradle or Maven with auto-import, you should exclude module files,
|
||||
# since they will be recreated, and may cause churn. Uncomment if using
|
||||
# auto-import.
|
||||
# .idea/modules.xml
|
||||
# .idea/*.iml
|
||||
# .idea/modules
|
||||
|
||||
# CMake
|
||||
cmake-build-*/
|
||||
|
||||
# Mongo Explorer plugin
|
||||
.idea/**/mongoSettings.xml
|
||||
|
||||
# File-based project format
|
||||
*.iws
|
||||
|
||||
# IntelliJ
|
||||
out/
|
||||
|
||||
# mpeltonen/sbt-idea plugin
|
||||
.idea_modules/
|
||||
|
||||
# JIRA plugin
|
||||
atlassian-ide-plugin.xml
|
||||
|
||||
# Cursive Clojure plugin
|
||||
.idea/replstate.xml
|
||||
|
||||
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||
com_crashlytics_export_strings.xml
|
||||
crashlytics.properties
|
||||
crashlytics-build.properties
|
||||
fabric.properties
|
||||
|
||||
# Editor-based Rest Client
|
||||
.idea/httpRequests
|
||||
|
||||
# Android studio 3.1+ serialized cache file
|
||||
.idea/caches/build_file_checksums.ser
|
27
git/.stow-local-ignore
Normal file
27
git/.stow-local-ignore
Normal file
@ -0,0 +1,27 @@
|
||||
# GNU stow ignore .gitignore files by default, and so we modify the default
|
||||
# ignore list, taken from
|
||||
# http://www.gnu.org/software/stow/manual/html_node/Types-And-Syntax-Of-Ignore-Lists.html,
|
||||
# to exclude the gitignore line
|
||||
|
||||
# Comments and blank lines are allowed.
|
||||
|
||||
RCS
|
||||
.+,v
|
||||
|
||||
CVS
|
||||
\.\#.+ # CVS conflict files / emacs lock files
|
||||
\.cvsignore
|
||||
|
||||
\.svn
|
||||
_darcs
|
||||
\.hg
|
||||
|
||||
\.git
|
||||
# \.gitignore
|
||||
|
||||
.+~ # emacs backup files
|
||||
\#.*\# # emacs autosave files
|
||||
|
||||
^/README.*
|
||||
^/LICENSE.*
|
||||
^/COPYING
|
470
i3/.config/i3/config
Normal file
470
i3/.config/i3/config
Normal file
@ -0,0 +1,470 @@
|
||||
# vim:filetype=i3
|
||||
#
|
||||
# i3 config file
|
||||
#
|
||||
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
||||
#
|
||||
|
||||
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
|
||||
set $mod Mod4
|
||||
|
||||
# set default desktop layout (default is tiling)
|
||||
# workspace_layout tabbed <stacking|tabbed>
|
||||
# big monitors:
|
||||
workspace_layout stacking
|
||||
# small monitors:
|
||||
#workspace_layout tabbed
|
||||
|
||||
####################
|
||||
## Visual Section ##
|
||||
####################
|
||||
|
||||
# Configure border style <normal|1pixel|pixel xx|none|pixel>
|
||||
#new_window pixel 1
|
||||
new_float normal
|
||||
|
||||
# thin borders
|
||||
hide_edge_borders both
|
||||
|
||||
# change borders
|
||||
bindsym $mod+u border none
|
||||
bindsym $mod+y border pixel 1
|
||||
bindsym $mod+n border normal
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:Hack, Fira Sans, FontAwesome, PowerlineSymbols 11
|
||||
|
||||
#-> Colors
|
||||
# Use custom colors for black
|
||||
set $black #282828
|
||||
set $darkblack #1d2021
|
||||
set $transparent #000000
|
||||
|
||||
set $bg-color #444444
|
||||
set $inactive-bg-color #2f343f
|
||||
set $text-color #f3f4f5
|
||||
set $inactive-text-color #676E7D
|
||||
set $urgent-bg-color #E53935
|
||||
|
||||
# window colors
|
||||
# border background text indicator
|
||||
client.focused $bg-color $bg-color $text-color #00ff00
|
||||
client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
|
||||
client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color #00ff00
|
||||
client.urgent $urgent-bg-color $urgent-bg-color $text-color #00ff00
|
||||
|
||||
#################
|
||||
## Bar Section ##
|
||||
#################
|
||||
bar {
|
||||
status_command i3blocks -c ~/.config/i3/i3blocks.conf
|
||||
colors {
|
||||
background $inactive-bg-color
|
||||
separator #757575
|
||||
# border background text
|
||||
focused_workspace $bg-color $bg-color $text-color
|
||||
inactive_workspace $inactive-bg-color $inactive-bg-color $inactive-text-color
|
||||
urgent_workspace $urgent-bg-color $urgent-bg-color $text-color
|
||||
}
|
||||
position bottom
|
||||
}
|
||||
|
||||
########################
|
||||
## Workspaces Section ##
|
||||
########################
|
||||
|
||||
# Cheat: http://fontawesome.io/cheatsheet/
|
||||
# Terminal
|
||||
set $workspace1 "1 "
|
||||
# Web, Downloads and Transfers
|
||||
set $workspace2 "2 "
|
||||
# Work GUI dependent
|
||||
set $workspace3 "3 "
|
||||
# Development
|
||||
set $workspace4 "4 "
|
||||
set $workspace5 "5 "
|
||||
set $workspace6 "6 "
|
||||
set $workspace7 "7 "
|
||||
set $workspace8 "8 "
|
||||
# Mailing and Chatting (icons for smartphone handling -> )
|
||||
set $workspace9 "9 "
|
||||
# Multimedia / Graphical Work
|
||||
set $workspace10 "10 "
|
||||
|
||||
# Open applications on specific workspaces
|
||||
assign [class="Thunderbird"] $workspace9
|
||||
assign [class="Rhythmbox"] $workspace10
|
||||
#assign [class="Firefox"] $workspace2
|
||||
assign [class="Atril"] $workspace3
|
||||
assign [class="TelegramDesktop"] $workspace9
|
||||
assign [class="Hexchat"] $workspace9
|
||||
|
||||
# Display the popup if it belongs to the fullscreen application only. This is
|
||||
# the default and should be reasonable behavior for most users.
|
||||
# Modes are smart|ignore|leave_fullscreen
|
||||
popup_during_fullscreen smart
|
||||
|
||||
# Open specific applications in floating mode
|
||||
for_window [title="alsamixer"] floating enable border pixel 1
|
||||
for_window [class="Calamares"] floating enable border normal
|
||||
for_window [class="Clipgrab"] floating enable
|
||||
for_window [title="File Transfer*"] floating enable
|
||||
for_window [class="^ThunarHome$"] floating enable
|
||||
for_window [title="^File Operation Progress$"] floating enable
|
||||
for_window [class="Galculator"] floating enable border pixel 1
|
||||
for_window [class="Qalculate-gtk"] floating enable border pixel 1
|
||||
for_window [class="GParted"] floating enable border normal
|
||||
for_window [title="i3_help"] floating enable sticky enable border normal
|
||||
for_window [class="Lightdm-gtk-greeter-settings"] floating enable
|
||||
for_window [class="Lxappearance"] floating enable sticky enable border normal
|
||||
for_window [class="Cinnamon-settings.py"] floating enable border normal
|
||||
for_window [title="MuseScore: Play Panel"] floating enable
|
||||
for_window [class="Nitrogen"] floating enable sticky enable border normal
|
||||
for_window [class="Oblogout"] fullscreen enable
|
||||
for_window [class="octopi"] floating enable
|
||||
for_window [title="About Pale Moon"] floating enable
|
||||
for_window [class="Pamac-manager"] floating enable
|
||||
for_window [class="Pavucontrol"] floating enable
|
||||
for_window [class="qt5ct"] floating enable sticky enable border normal
|
||||
for_window [class="Qtconfig-qt4"] floating enable sticky enable border normal
|
||||
for_window [class="Simple-scan"] floating enable border normal
|
||||
for_window [class="(?i)System-config-printer.py"] floating enable border normal
|
||||
for_window [class="Skype"] floating enable border normal
|
||||
for_window [class="Thus"] floating enable border normal
|
||||
for_window [class="Timeset-gui"] floating enable border normal
|
||||
for_window [class="Xfburn"] floating enable
|
||||
for_window [class="qTox"] floating enable
|
||||
for_window [class="Gnome-system-monitor"] floating enable
|
||||
for_window [class="Gpk-update-viewer"] floating enable
|
||||
for_window [title="^Current Media Information$"] floating enable
|
||||
for_window [class="^Xfrun4$"] floating enable
|
||||
for_window [class="^Xfce4-appfinder$"] floating enable
|
||||
no_focus [class="^Xfce4-notifyd$" ]
|
||||
for_window [class="^cameraclient$"] floating enable
|
||||
for_window [class="^blueman-manager$"] floating enable
|
||||
for_window [class="^galculator$"] floating enable
|
||||
for_window [class="^vlc$"] floating enable
|
||||
for_window [class="Vlc"] floating enable
|
||||
for_window [class="^Vlc$"] floating enable
|
||||
for_window [class="^ffplay$"] floating enable
|
||||
for_window [class="^mpv$"] floating enable
|
||||
for_window [class="^Yad$"] floating enable border normal
|
||||
for_window [class="^xpad$"] floating enable
|
||||
for_window [class="^Rsvg-view-3$"] floating enable
|
||||
for_window [class="^Volumeicon$"] floating enable
|
||||
for_window [class="^Pavucontrol$"] floating enable
|
||||
for_window [class="^Nm-connection-editor"] floating enable
|
||||
for_window [class="Gdebi-gtk"] floating enable border normal
|
||||
for_window [class="TelegramDesktop"] floating enable border normal
|
||||
# GNUplot and Virtualbox dislike i3 although I tried
|
||||
for_window [class="^gnuplot$"] floating enable
|
||||
#for_window [class="(?i)virtualbox"] floating enable border normal
|
||||
|
||||
# Gajim stuff
|
||||
assign [class="^Gajim$"] → $workspace1
|
||||
for_window [class="^Gajim$" window_role="buddy_list"] layout splith, resize shrink width 0 px or 30 ppt, move right
|
||||
for_window [class="^Gajim$" window_role="conversation"] resize grow width 0 px or 30 ppt, move left
|
||||
bindsym $mod+i [class="^Gajim$" window_role="(?i)conversation"] focus; [class="^Gajim$"] focus
|
||||
|
||||
##########################
|
||||
## Key-Bindings Section ##
|
||||
##########################
|
||||
|
||||
#-> Workspace related
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace $workspace1
|
||||
bindsym $mod+2 workspace $workspace2
|
||||
bindsym $mod+3 workspace $workspace3
|
||||
bindsym $mod+4 workspace $workspace4
|
||||
bindsym $mod+5 workspace $workspace5
|
||||
bindsym $mod+6 workspace $workspace6
|
||||
bindsym $mod+7 workspace $workspace7
|
||||
bindsym $mod+8 workspace $workspace8
|
||||
bindsym $mod+9 workspace $workspace9
|
||||
bindsym $mod+0 workspace $workspace10
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace $workspace1
|
||||
bindsym $mod+Shift+2 move container to workspace $workspace2
|
||||
bindsym $mod+Shift+3 move container to workspace $workspace3
|
||||
bindsym $mod+Shift+4 move container to workspace $workspace4
|
||||
bindsym $mod+Shift+5 move container to workspace $workspace5
|
||||
bindsym $mod+Shift+6 move container to workspace $workspace6
|
||||
bindsym $mod+Shift+7 move container to workspace $workspace7
|
||||
bindsym $mod+Shift+8 move container to workspace $workspace8
|
||||
bindsym $mod+Shift+9 move container to workspace $workspace9
|
||||
bindsym $mod+Shift+0 move container to workspace $workspace10
|
||||
|
||||
# workspace back and forth (with/without active container)
|
||||
workspace_auto_back_and_forth yes
|
||||
bindsym $mod+b workspace back_and_forth
|
||||
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
|
||||
|
||||
# Cycle through active workspaces
|
||||
bindsym $mod+Tab workspace next
|
||||
bindsym $mod+Shift+Tab workspace prev
|
||||
|
||||
# switch to workspace with urgent window automatically
|
||||
for_window [urgent=latest] focus
|
||||
|
||||
# sticky window
|
||||
bindsym $mod+Shift+s sticky toggle
|
||||
|
||||
# Make the currently focused window a scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
|
||||
# Show the first scratchpad window
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
#-> General Behavior
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
|
||||
# change focus (VIM like setup)
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
# move focused window (VIM like setup)
|
||||
bindsym $mod+Shift+h move left
|
||||
bindsym $mod+Shift+j move down
|
||||
bindsym $mod+Shift+k move up
|
||||
bindsym $mod+Shift+l move right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
# Alias for the command above
|
||||
bindsym Mod1+F4 kill
|
||||
|
||||
# split in horizontal orientation (VIM like setup)
|
||||
bindsym $mod+comma split h
|
||||
|
||||
# split in vertical orientation
|
||||
bindsym $mod+v split v
|
||||
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# change container layout (stacked, tabbed, toggle split)
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
# focus the parent container
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
# focus the child container
|
||||
bindsym $mod+c focus child
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
|
||||
# Resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
# Pressing left will shrink the window’s width.
|
||||
# Pressing right will grow the window’s width.
|
||||
# Pressing up will shrink the window’s height.
|
||||
# Pressing down will grow the window’s height.
|
||||
#commented for VIM like setup
|
||||
#bindsym j resize shrink width 5 px or 5 ppt
|
||||
#bindsym k resize grow height 5 px or 5 ppt
|
||||
#bindsym l resize shrink height 5 px or 5 ppt
|
||||
#bindsym semicolon resize grow width 5 px or 5 ppt
|
||||
bindsym $mod+h resize shrink width 5 px or 5 ppt
|
||||
bindsym $mod+j resize grow height 5 px or 5 ppt
|
||||
bindsym $mod+k resize shrink height 5 px or 5 ppt
|
||||
bindsym $mod+l resize grow width 5 px or 5 ppt
|
||||
|
||||
# same bindings, but for the arrow keys
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
bindsym Down resize grow height 10 px or 10 ppt
|
||||
bindsym Up resize shrink height 10 px or 10 ppt
|
||||
bindsym Right resize grow width 10 px or 10 ppt
|
||||
|
||||
# exit resize mode: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
####################
|
||||
## System Control ##
|
||||
####################
|
||||
|
||||
#--> Volume Control
|
||||
# Pulse Audio controls
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.config/i3/scripts/volume_level.sh up #increase sound volume
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id ~/.config/i3/scripts/volume_level.sh down #decrease sound volume
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
|
||||
bindsym $mod+o exec pavucontrol
|
||||
|
||||
# Sreen brightness controls
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id xbright +90 # increase screen brightness
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id xbright -90 # decrease screen brightness
|
||||
|
||||
# Media player controls
|
||||
#bindsym XF86AudioPause exec "playerctl play-pause || cmus-remote -u"
|
||||
#bindsym $mod+backslash exec "sh -c 'i3-msg \"workspace $workspace10; exec kitty -e ~/.config/i3/scripts/cmus-play.sh \"'"
|
||||
#bindsym XF86AudioNext exec "playerctl next || cmus-remote --next"
|
||||
#bindsym XF86AudioPrev exec "playerctl previous || cmus-remote --prev"
|
||||
|
||||
# Disable touchpad
|
||||
bindsym XF86Sleep exec --no-startup-id ~/.config/i3/scripts/touchpad.sh
|
||||
|
||||
########################
|
||||
## Start Applications ##
|
||||
########################
|
||||
|
||||
bindsym $mod+Return exec i3-sensible-terminal
|
||||
bindsym $mod+F3 exec kitty -e 'ranger'
|
||||
bindsym Print exec xfce4-screenshooter
|
||||
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
|
||||
bindsym $mod+Shift+f exec firefox
|
||||
bindsym $mod+Shift+m exec thunderbird
|
||||
bindsym Ctrl+Shift+1 exec gnome-system-monitor
|
||||
bindsym $mod+Shift+t exec pcmanfm
|
||||
bindsym $mod+Shift+n exec netbeans
|
||||
|
||||
################
|
||||
## Start Menu ##
|
||||
################
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym Mod1+F2 exec --no-startup-id dmenu_run
|
||||
#bindsym Mod1+F2 exec --no-startup-id j4-dmenu-desktop [--dmenu="dmenu -i"] [--term="i3-sensible-terminal"]
|
||||
|
||||
# start j4-dmenu-desktop which only displays applications
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||
#bindsym $mod+d exec --no-startup-id j4-dmenu-desktop [--dmenu="dmenu -i"] [--term="i3-sensible-terminal"]
|
||||
|
||||
# launch categorized menu
|
||||
bindsym $mod+z exec --no-startup-id ~/.config/i3/scripts/morc_menu.sh
|
||||
|
||||
################
|
||||
## Power Menu ##
|
||||
################
|
||||
|
||||
# lock
|
||||
bindsym $mod+Shift+x exec light-locker-command -l
|
||||
# alias for the command above
|
||||
bindsym Ctrl+Mod1+l exec light-locker-command -l
|
||||
|
||||
set $mode_system "System (l) lock, (e) logout, (s) suspend, (r) reboot, (Shift+s) shutdown"
|
||||
mode $mode_system {
|
||||
bindsym l exec --no-startup-id ~/.config/i3/scripts/exit_menu.sh lock, mode "default"
|
||||
bindsym e exec --no-startup-id ~/.config/i3/scripts/exit_menu.sh logout, mode "default"
|
||||
bindsym s exec --no-startup-id ~/.config/i3/scripts/exit_menu.sh suspend, mode "default"
|
||||
bindsym r exec --no-startup-id ~/.config/i3/scripts/exit_menu.sh reboot, mode "default"
|
||||
bindsym Shift+s exec --no-startup-id ~/.config/i3/scripts/exit_menu.sh poweroff, mode "default"
|
||||
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
bindsym $mod+Pause mode $mode_system
|
||||
#bindsym XF86Sleep exec --no-startup-id ~/.config/i3/scripts/exit_menu.sh suspend, mode "default"
|
||||
|
||||
############################
|
||||
######## KEYBOARD ##########
|
||||
############################
|
||||
exec --no-startup-id xmodmap /home/xellos/.Xmodmap &
|
||||
|
||||
bindsym mod3+Tab exec --no-startup-id xdotool key Caps_Lock
|
||||
|
||||
bindsym mod3+Escape exec --no-startup-id ~/.config/i3/scripts/exit_menu.sh poweroff
|
||||
|
||||
############################
|
||||
## Autostart applications ##
|
||||
############################
|
||||
|
||||
#-> System related
|
||||
exec --no-startup-id nm-applet &
|
||||
#exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
|
||||
exec --no-startup-id package-update-indicator &
|
||||
exec --no-startup-id xfsettingsd --sm-client-disable &
|
||||
exec --no-startup-id xfce4-power-manager &
|
||||
#exec --no-startup-id compton &
|
||||
exec --no-startup-id light-locker &
|
||||
exec --no-startup-id nitrogen --restore &
|
||||
|
||||
#-> Session AutoStart
|
||||
exec --no-startup-id ~/.config/i3/scripts/autostart.sh
|
||||
#exec --no-startup-id parcellite &
|
||||
#exec --no-startup-id blueman-applet &
|
||||
#exec --no-startup-id redshift-gtk &
|
||||
#exec --no-startup-id indicator-kdeconnect &
|
||||
#exec --no-startup-id /usr/bin/nextcloud &
|
||||
#exec --no-startup-id gajim &
|
||||
#exec --no-startup-id hexchat --minimize=2 &
|
||||
#exec --no-startup-id /opt/Telegram/Telegram -startintray &
|
||||
#exec --no-startup-id /opt/spotlight.sh &
|
||||
|
||||
# Display Mode
|
||||
bindsym $mod+p mode "$mode_display"
|
||||
set $mode_display Ext Screen: (z) VGA, (x) HDMI, (c) External OFF
|
||||
|
||||
mode "$mode_display" {
|
||||
bindsym z mode "$mode_display_vga"
|
||||
bindsym x mode "$mode_display_hdmi"
|
||||
bindsym c exec --no-startup-id xrandr --output VGA1 --off --output HDMI2 --off --output DP2-3 --off, mode "default"
|
||||
|
||||
# Return to exit out, Escape to go back to external output
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
# VGA settings
|
||||
set $mode_display_vga Ext Screen (VGA): (z) On, (x) Mirrored
|
||||
# Set the shortcuts and what they do
|
||||
mode "$mode_display_vga" {
|
||||
bindsym z exec --no-startup-id xrandr --output VGA1 --auto --left-of LVDS1, mode "default"
|
||||
bindsym x exec --no-startup-id xrandr --output VGA1 --auto --output LVDS1 --auto --same-as LVDS1, mode "default"
|
||||
|
||||
# Return to exit out, Escape to go back to external output
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "$mode_display"
|
||||
}
|
||||
|
||||
# HDMI settings
|
||||
set $mode_display_hdmi Ext Screen (HDMI): (z) On, (x) Mirrored
|
||||
# Set the shortcuts and what they do
|
||||
mode "$mode_display_hdmi" {
|
||||
bindsym z exec --no-startup-id xrandr --output HDMI2 --auto --left-of LVDS1, mode "default"
|
||||
bindsym x exec --no-startup-id xrandr --output HDMI2 --auto --output LVDS1 --auto --same-as HDMI2, mode "default"
|
||||
bindsym c exec --no-startup-id xrandr --output HDMI2 --auto --off, mode "default"
|
||||
|
||||
# Return to exit out, Escape to go back to external output
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "$mode_display"
|
||||
}
|
||||
|
||||
exec --no-startup-id ~/.config/i3/scripts/remaps.sh
|
173
i3/.config/i3/i3blocks.conf
Normal file
173
i3/.config/i3/i3blocks.conf
Normal file
@ -0,0 +1,173 @@
|
||||
# i3blocks config file
|
||||
#
|
||||
# Please see man i3blocks for a complete reference!
|
||||
# The man page is also hosted at http://vivien.github.io/i3blocks
|
||||
#
|
||||
# List of valid properties:
|
||||
#
|
||||
# align
|
||||
# color
|
||||
# command
|
||||
# full_text
|
||||
# instance
|
||||
# interval
|
||||
# label
|
||||
# min_width
|
||||
# name
|
||||
# separator
|
||||
# separator_block_width
|
||||
# short_text
|
||||
# signal
|
||||
# urgent
|
||||
|
||||
# Global properties
|
||||
#
|
||||
# The top properties below are applied to every block, but can be overridden.
|
||||
# Each block command defaults to the script name to avoid boilerplate.
|
||||
#command=/usr/lib/i3blocks/$BLOCK_NAME
|
||||
command=/usr/share/i3blocks/$BLOCK_NAME
|
||||
separator_block_width=15
|
||||
markup=none
|
||||
|
||||
# Volume indicator
|
||||
#
|
||||
# The first parameter sets the step (and units to display)
|
||||
# The second parameter overrides the mixer selection
|
||||
# See the script for details.
|
||||
[volume]
|
||||
#label=VOL
|
||||
label=♪
|
||||
instance=Master
|
||||
#instance=PCM
|
||||
interval=1
|
||||
signal=10
|
||||
|
||||
# Memory usage
|
||||
#
|
||||
# The type defaults to "mem" if the instance is not specified.
|
||||
[memory]
|
||||
label=
|
||||
separator=true
|
||||
interval=30
|
||||
|
||||
#[memory]
|
||||
#label=SWAP
|
||||
#instance=swap
|
||||
#separator=false
|
||||
#interval=30
|
||||
|
||||
# Disk usage
|
||||
#
|
||||
# The directory defaults to $HOME if the instance is not specified.
|
||||
# The script may be called with a optional argument to set the alert
|
||||
# (defaults to 10 for 10%).
|
||||
[disk]
|
||||
label=
|
||||
interval=30
|
||||
|
||||
# Network interface monitoring
|
||||
#
|
||||
# If the instance is not specified, use the interface used for default route.
|
||||
# The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
|
||||
# [iface]
|
||||
# #instance=wlan0
|
||||
# color=#00FF00
|
||||
# interval=10
|
||||
# separator=false
|
||||
|
||||
#[wifi]
|
||||
#label=
|
||||
# color=#CCCCFF
|
||||
#instance=wlp2s0
|
||||
#interval=1
|
||||
#separator=true
|
||||
|
||||
#[bandwidth]
|
||||
#instance=wlp3s0
|
||||
#interval=5
|
||||
|
||||
# CPU usage
|
||||
#
|
||||
# The script may be called with -w and -c switches to specify thresholds,
|
||||
# see the script for details.
|
||||
[cpu_usage]
|
||||
label=
|
||||
interval=10
|
||||
min_width= 100%
|
||||
separator=true
|
||||
|
||||
#[load_average]
|
||||
#interval=10
|
||||
|
||||
#[mail]
|
||||
#color=#FFEEEE
|
||||
#label=
|
||||
#command=sh /home/sahib/bin/mail-count-new.sh
|
||||
#interval=60
|
||||
|
||||
#[pacman]
|
||||
#color=#FFEE00
|
||||
#label=
|
||||
#command=date '+%Y-%m-%d %H:%M:%S'
|
||||
#command=checkupdates | wc -l
|
||||
#interval=60
|
||||
|
||||
# Battery indicator
|
||||
#
|
||||
# The battery instance defaults to 0.
|
||||
[battery]
|
||||
#color=#99FFCC
|
||||
# ⚡
|
||||
label=
|
||||
instance=0
|
||||
interval=30
|
||||
|
||||
# Date Time
|
||||
#
|
||||
[time]
|
||||
#color=#FFCCCC
|
||||
label=
|
||||
command=date '+%Y-%m-%d %H:%M:%S'
|
||||
#command=date '+%H:%M '
|
||||
interval=1
|
||||
|
||||
|
||||
# Generic media player support
|
||||
#
|
||||
# This displays "ARTIST - SONG" if a music is playing.
|
||||
# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
|
||||
#[mediaplayer]
|
||||
#instance=clementine
|
||||
#interval=5
|
||||
#signal=10
|
||||
|
||||
# OpenVPN support
|
||||
#
|
||||
# Support multiple VPN, with colors.
|
||||
#[openvpn]
|
||||
#interval=20
|
||||
|
||||
# Temperature
|
||||
#
|
||||
# Support multiple chips, though lm-sensors.
|
||||
# The script may be called with -w and -c switches to specify thresholds,
|
||||
# see the script for details.
|
||||
[temperature]
|
||||
label=
|
||||
interval=10
|
||||
|
||||
# Key indicators
|
||||
#
|
||||
# Add the following bindings to i3 config file:
|
||||
#
|
||||
# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
|
||||
# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
|
||||
#[keyindicator]
|
||||
#instance=CAPS
|
||||
#interval=once
|
||||
#signal=11
|
||||
|
||||
#[keyindicator]
|
||||
#instance=NUM
|
||||
#interval=once
|
||||
#signal=11
|
86
i3/.config/i3/i3status.conf
Normal file
86
i3/.config/i3/i3status.conf
Normal file
@ -0,0 +1,86 @@
|
||||
# i3status configuration file.
|
||||
# see "man i3status" for documentation.
|
||||
|
||||
# It is important that this file is edited as UTF-8.
|
||||
# The following line should contain a sharp s:
|
||||
# ß
|
||||
# If the above line is not correctly displayed, fix your editor first!
|
||||
|
||||
general {
|
||||
interval = 1
|
||||
colors = true
|
||||
color_good="#FFFFFF"
|
||||
color_degraded="#ffd75f"
|
||||
color_bad="#d75f5f"
|
||||
}
|
||||
|
||||
order += "volume master"
|
||||
order += "battery 0"
|
||||
order += "disk /"
|
||||
order += "disk /home"
|
||||
order += "cpu_usage"
|
||||
order += "load"
|
||||
order += "wireless wlp4s0"
|
||||
order += "ethernet enp0s25"
|
||||
order += "tztime utc"
|
||||
order += "tztime local"
|
||||
|
||||
tztime local {
|
||||
format = " %Y-%m-%d %H:%M:%S"
|
||||
}
|
||||
|
||||
#tztime utc {
|
||||
# format = " UTC %H:%M "
|
||||
# timezone = "Etc/UTC"
|
||||
#}
|
||||
#
|
||||
#wireless wlp4s0 {
|
||||
# format_up = " %ip "
|
||||
# color_good = "#FFFFFF"
|
||||
# color_bad = "#FFFFFF"
|
||||
# format_down = ""
|
||||
#}
|
||||
#
|
||||
#ethernet enp0s25 {
|
||||
# # if you use %speed, i3status requires the cap_net_admin capability
|
||||
# format_up = " %ip "
|
||||
# color_good = "#FFFFFF"
|
||||
# color_bad = "#FFFFFF"
|
||||
# format_down = ""
|
||||
#}
|
||||
|
||||
disk "/home" {
|
||||
format = " ~ %avail "
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = " / %avail "
|
||||
}
|
||||
|
||||
cpu_usage {
|
||||
format = " %usage "
|
||||
}
|
||||
|
||||
load {
|
||||
format = " %5min 5min "
|
||||
}
|
||||
|
||||
volume master {
|
||||
format = " ♪ %volume "
|
||||
format_muted = " ♪ %volume "
|
||||
device = "default"
|
||||
mixer = "Master"
|
||||
mixer_idx = 0
|
||||
}
|
||||
|
||||
battery 0 {
|
||||
format = "%status %percentage "
|
||||
#format_down = " "
|
||||
format_down = ""
|
||||
status_chr = " "
|
||||
status_bat = " "
|
||||
status_unk = " "
|
||||
#last_full_capacity = true
|
||||
status_full = " "
|
||||
path = "/sys/class/power_supply/BAT%d/uevent"
|
||||
}
|
4
i3/.config/i3/scripts/autostart.sh
Executable file
4
i3/.config/i3/scripts/autostart.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/zsh
|
||||
grep -rh Exec ~/.config/autostart | while read -r line ; do
|
||||
${line:5} &
|
||||
done
|
2
i3/.config/i3/scripts/cmus-play.sh
Executable file
2
i3/.config/i3/scripts/cmus-play.sh
Executable file
@ -0,0 +1,2 @@
|
||||
$( sleep 2 && cmus-remote -u ) &
|
||||
cmus
|
41
i3/.config/i3/scripts/exit_menu.sh
Executable file
41
i3/.config/i3/scripts/exit_menu.sh
Executable file
@ -0,0 +1,41 @@
|
||||
#!/bin/dash
|
||||
|
||||
case "$1" in
|
||||
lock)
|
||||
light-locker-command -l
|
||||
#i3lock --color 475263
|
||||
;;
|
||||
logout)
|
||||
while [ "$select" != "NO" ] && [ "$select" != "YES" ]
|
||||
do
|
||||
select=$(printf 'NO\nYES' | dmenu -nb '#2f343f' -nf '#f3f4f5' -sb '#9575cd' -sf '#f3f4f5' -fn '-*-*-medium-r-normal-*-*-*-*-*-*-100-*-*' -i -p "Are you sure you want to logout?")
|
||||
[ -z "$select" ] && exit 0
|
||||
done
|
||||
[ "$select" = "NO" ] && exit 0
|
||||
i3-msg exit
|
||||
;;
|
||||
suspend)
|
||||
while [ "$select" != "NO" ] && [ "$select" != "YES" ]
|
||||
do
|
||||
select=$(printf 'NO\nYES' | dmenu -nb '#2f343f' -nf '#f3f4f5' -sb '#9575cd' -sf '#f3f4f5' -fn '-*-*-medium-r-normal-*-*-*-*-*-*-100-*-*' -i -p "Are you sure you want to $1?")
|
||||
[ -z "$select" ] && exit 0
|
||||
done
|
||||
[ "$select" = "NO" ] && exit 0
|
||||
light-locker-command -l
|
||||
systemctl "$1"
|
||||
;;
|
||||
reboot|poweroff)
|
||||
while [ "$select" != "NO" ] && [ "$select" != "YES" ]
|
||||
do
|
||||
select=$(printf 'NO\nYES' | dmenu -nb '#2f343f' -nf '#f3f4f5' -sb '#9575cd' -sf '#f3f4f5' -fn '-*-*-medium-r-normal-*-*-*-*-*-*-100-*-*' -i -p "Are you sure you want to $1?")
|
||||
[ -z "$select" ] && exit 0
|
||||
done
|
||||
[ "$select" = "NO" ] && exit 0
|
||||
systemctl "$1"
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {lock|logout|suspend|reboot|shutdown}"
|
||||
exit 2
|
||||
esac
|
||||
|
||||
exit 0
|
11
i3/.config/i3/scripts/lock.sh
Executable file
11
i3/.config/i3/scripts/lock.sh
Executable file
@ -0,0 +1,11 @@
|
||||
icon="$HOME/.i3/lock.png"
|
||||
img=/tmp/i3lock.png
|
||||
|
||||
scrot $img
|
||||
convert $img -scale 10% -scale 1000% $img
|
||||
|
||||
# Blur image
|
||||
#convert $img -blur 0x4 500% $img
|
||||
# convert $img $icon -gravity center -composite $img
|
||||
|
||||
i3lock -u -i $img
|
1010
i3/.config/i3/scripts/morc_menu.sh
Executable file
1010
i3/.config/i3/scripts/morc_menu.sh
Executable file
File diff suppressed because it is too large
Load Diff
8
i3/.config/i3/scripts/remaps.sh
Executable file
8
i3/.config/i3/scripts/remaps.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This script is called by i3 on startup.
|
||||
|
||||
# maps caps lock to escape for vim (and ctrl)
|
||||
setxkbmap -option 'caps:ctrl_modifier' && xcape -e 'Caps_Lock=Escape' &
|
||||
|
||||
xmodmap ~/.Xmodmap
|
11
i3/.config/i3/scripts/touchpad.sh
Executable file
11
i3/.config/i3/scripts/touchpad.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/dash
|
||||
|
||||
device="SynPS/2 Synaptics TouchPad"
|
||||
state=$(xinput list-props "$device" | grep "Device Enabled" | grep -o "[01]$")
|
||||
|
||||
if [ "$state" = '1' ]
|
||||
then
|
||||
xinput disable "$device"
|
||||
else
|
||||
xinput enable "$device"
|
||||
fi
|
6
i3/.config/i3/scripts/urxvtc.sh
Executable file
6
i3/.config/i3/scripts/urxvtc.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
urxvtc "$@"
|
||||
if [ $? -eq 2 ]; then
|
||||
urxvtd -q -o -f
|
||||
urxvtc "$@"
|
||||
fi
|
17
i3/.config/i3/scripts/volume_level.sh
Executable file
17
i3/.config/i3/scripts/volume_level.sh
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/dash
|
||||
# Pulse Audio controls
|
||||
|
||||
if [ "$( pacmd dump | awk '$1 == "set-sink-mute" {m[$2] = $3} $1 == "set-default-sink" {s = $2} END {print m[s]}')" = 'yes' ]
|
||||
then
|
||||
pactl set-sink-mute 0 toggle
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
up)
|
||||
pactl set-sink-volume 0 +5% #increase sound volume
|
||||
;;
|
||||
down)
|
||||
pactl set-sink-volume 0 -5% #decrease sound volume
|
||||
;;
|
||||
esac
|
||||
|
248
kitty/.config/kitty/kitty.conf
Normal file
248
kitty/.config/kitty/kitty.conf
Normal file
@ -0,0 +1,248 @@
|
||||
# vim:fileencoding=utf-8:ft=conf
|
||||
|
||||
# Font family. You can also specify different fonts for the
|
||||
# bold/italic/bold-italic variants. By default they are derived automatically,
|
||||
# by the OSes font system. Setting them manually is useful for font families
|
||||
# that have many weight variants like Book, Medium, Thick, etc. For example:
|
||||
# font_family Operator Mono Book
|
||||
# bold_font Operator Mono Thick
|
||||
# bold_italic_font Operator Mono Medium
|
||||
# font_family Input Mono
|
||||
# font_family Fantasque Sans Mono
|
||||
# font_family Hack
|
||||
# font_family Fira Code Retina
|
||||
italic_font auto
|
||||
bold_font auto
|
||||
bold_italic_font auto
|
||||
|
||||
# Font size (in pts)
|
||||
# font_size 18.0
|
||||
#font_size 12.0
|
||||
font_size 11
|
||||
|
||||
foreground #959dcb
|
||||
background #292d3e
|
||||
selection_foreground #eceef0
|
||||
selection_background #607c8b
|
||||
url_color #82aaff
|
||||
|
||||
# black
|
||||
color0 #434759
|
||||
color8 #434758
|
||||
|
||||
# red
|
||||
color1 #f07178
|
||||
color9 #ff8b92
|
||||
|
||||
# green
|
||||
color2 #c3e88d
|
||||
color10 #ddffa7
|
||||
|
||||
# yellow
|
||||
color3 #ffcb6b
|
||||
color11 #ffe585
|
||||
|
||||
# blue
|
||||
color4 #82aaff
|
||||
color12 #9cc4ff
|
||||
|
||||
# magenta
|
||||
color5 #c792ea
|
||||
color13 #e1acff
|
||||
|
||||
# cyan
|
||||
color6 #89ddff
|
||||
color14 #a3f7ff
|
||||
|
||||
# white
|
||||
color7 #d0d0d0
|
||||
color15 #fefefe
|
||||
|
||||
adjust_line_height 1
|
||||
|
||||
# The cursor shape can be one of (block, beam, underline)
|
||||
cursor_shape block
|
||||
|
||||
# The interval (in seconds) at which to blink the cursor. Set to zero to
|
||||
# disable blinking.
|
||||
cursor_blink_interval 0.5
|
||||
|
||||
# Stop blinking cursor after the specified number of seconds of keyboard inactivity. Set to
|
||||
# zero or a negative number to never stop blinking.
|
||||
cursor_stop_blinking_after 15.0
|
||||
|
||||
# Number of lines of history to keep in memory for scrolling back
|
||||
scrollback_lines 2000
|
||||
|
||||
# Program with which to view scrollback in a new window. The scrollback buffer is passed as
|
||||
# STDIN to this program. If you change it, make sure the program you use can
|
||||
# handle ANSI escape sequences for colors and text formatting.
|
||||
scrollback_pager less +G -R
|
||||
|
||||
# Wheel scroll multiplier (modify the amount scrolled by the mouse wheel)
|
||||
wheel_scroll_multiplier 5.0
|
||||
|
||||
# The interval between successive clicks to detect double/triple clicks (in seconds)
|
||||
click_interval 0.5
|
||||
|
||||
# Characters considered part of a word when double clicking. In addition to these characters
|
||||
# any character that is marked as an alpha-numeric character in the unicode
|
||||
# database will be matched.
|
||||
select_by_word_characters :@-./_~?&=%+#
|
||||
|
||||
# Hide mouse cursor after the specified number of seconds of the mouse not being used. Set to
|
||||
# zero or a negative number to disable mouse cursor hiding.
|
||||
mouse_hide_wait 3.0
|
||||
|
||||
# The enabled window layouts. A comma separated list of layout names. The special value * means
|
||||
# all layouts. The first listed layout will be used as the startup layout.
|
||||
# For a list of available layouts, see the file layouts.py
|
||||
enabled_layouts *
|
||||
|
||||
# If enabled, the window size will be remembered so that new instances of kitty will have the same
|
||||
# size as the previous instance. If disabled, the window will initially have size configured
|
||||
# by initial_window_width/height, in pixels.
|
||||
remember_window_size no
|
||||
initial_window_width 640
|
||||
initial_window_height 400
|
||||
|
||||
# Delay (in milliseconds) between screen updates. Decreasing it, increases fps
|
||||
# at the cost of more CPU usage. The default value yields ~100fps which is more
|
||||
# that sufficient for most uses.
|
||||
# repaint_delay 10
|
||||
repaint_delay 10
|
||||
|
||||
# Delay (in milliseconds) before input from the program running in the terminal
|
||||
# is processed. Note that decreasing it will increase responsiveness, but also
|
||||
# increase CPU usage and might cause flicker in full screen programs that
|
||||
# redraw the entire screen on each loop, because kitty is so fast that partial
|
||||
# screen updates will be drawn.
|
||||
input_delay 3
|
||||
|
||||
# Visual bell duration. Flash the screen when a bell occurs for the specified number of
|
||||
# seconds. Set to zero to disable.
|
||||
visual_bell_duration 0.0
|
||||
|
||||
# Enable/disable the audio bell. Useful in environments that require silence.
|
||||
enable_audio_bell no
|
||||
window_alert_on_bell no
|
||||
|
||||
# The modifier keys to press when clicking with the mouse on URLs to open the URL
|
||||
open_url_modifiers ctrl+shift
|
||||
|
||||
# The program with which to open URLs that are clicked on. The special value "default" means to
|
||||
# use the operating system's default URL handler.
|
||||
open_url_with default
|
||||
|
||||
url_color #26BBD9
|
||||
url_style curly
|
||||
|
||||
# The value of the TERM environment variable to set
|
||||
term xterm-kitty
|
||||
|
||||
# The width (in pts) of window borders. Will be rounded to the nearest number of pixels based on screen resolution.
|
||||
window_border_width 0
|
||||
|
||||
window_margin_width 15
|
||||
|
||||
window_padding_width 5.0
|
||||
|
||||
# The color for the border of the active window
|
||||
active_border_color #ffffff
|
||||
|
||||
# The color for the border of inactive windows
|
||||
inactive_border_color #cccccc
|
||||
|
||||
inactive_text_alpha 1.0
|
||||
tab_bar_edge top
|
||||
tab_separator " ┇"
|
||||
|
||||
# Tab-bar colors
|
||||
active_tab_foreground #000
|
||||
active_tab_background #eee
|
||||
inactive_tab_foreground #444
|
||||
inactive_tab_background #999
|
||||
|
||||
# Key mapping
|
||||
# For a list of key names, see: http://www.glfw.org/docs/latest/group__keys.html
|
||||
# For a list of modifier names, see: http://www.glfw.org/docs/latest/group__mods.html
|
||||
# You can use the special action no_op to unmap a keyboard shortcut that is
|
||||
# assigned in the default configuration.
|
||||
|
||||
# Clipboard
|
||||
map super+v paste_from_clipboard
|
||||
map ctrl+shift+s paste_from_selection
|
||||
map super+c copy_to_clipboard
|
||||
map shift+insert paste_from_selection
|
||||
|
||||
# Scrolling
|
||||
map ctrl+shift+up scroll_line_up
|
||||
map ctrl+shift+down scroll_line_down
|
||||
map ctrl+shift+k scroll_line_up
|
||||
map ctrl+shift+j scroll_line_down
|
||||
map ctrl+shift+page_up scroll_page_up
|
||||
map ctrl+shift+page_down scroll_page_down
|
||||
map ctrl+shift+home scroll_home
|
||||
map ctrl+shift+end scroll_end
|
||||
map ctrl+shift+h show_scrollback
|
||||
|
||||
# Window management
|
||||
map super+n new_os_window
|
||||
map super+w close_window
|
||||
map ctrl+shift+enter new_window
|
||||
map ctrl+shift+] next_window
|
||||
map ctrl+shift+[ previous_window
|
||||
map ctrl+shift+f move_window_forward
|
||||
map ctrl+shift+b move_window_backward
|
||||
map ctrl+shift+` move_window_to_top
|
||||
map ctrl+shift+1 first_window
|
||||
map ctrl+shift+2 second_window
|
||||
map ctrl+shift+3 third_window
|
||||
map ctrl+shift+4 fourth_window
|
||||
map ctrl+shift+5 fifth_window
|
||||
map ctrl+shift+6 sixth_window
|
||||
map ctrl+shift+7 seventh_window
|
||||
map ctrl+shift+8 eighth_window
|
||||
map ctrl+shift+9 ninth_window
|
||||
map ctrl+shift+0 tenth_window
|
||||
|
||||
# Tab management
|
||||
map ctrl+shift+right next_tab
|
||||
map ctrl+shift+left previous_tab
|
||||
map ctrl+shift+t new_tab
|
||||
map ctrl+shift+q close_tab
|
||||
map ctrl+shift+l next_layout
|
||||
map ctrl+shift+. move_tab_forward
|
||||
map ctrl+shift+, move_tab_backward
|
||||
|
||||
# Miscellaneous
|
||||
map ctrl+shift+up increase_font_size
|
||||
map ctrl+shift+down decrease_font_size
|
||||
map ctrl+shift+backspace restore_font_size
|
||||
|
||||
# Symbol mapping (special font for specified unicode code points). Map the
|
||||
# specified unicode codepoints to a particular font. Useful if you need special
|
||||
# rendering for some symbols, such as for Powerline. Avoids the need for
|
||||
# patched fonts. Each unicode code point is specified in the form U+<code point
|
||||
# in hexadecimal>. You can specify multiple code points, separated by commas
|
||||
# and ranges separated by hyphens. symbol_map itself can be specified multiple times.
|
||||
# Syntax is:
|
||||
#
|
||||
# symbol_map codepoints Font Family Name
|
||||
#
|
||||
# For example:
|
||||
#
|
||||
#symbol_map U+E0A0-U+E0A2,U+E0B0-U+E0B3 PowerlineSymbols
|
||||
hide_window_decorations no
|
||||
macos_option_as_alt no
|
||||
|
||||
# Change the color of the kitty window's titlebar on macOS. A value of "system"
|
||||
# means to use the default system color, a value of "background" means to use
|
||||
# the default background color and finally you can use an arbitrary color, such
|
||||
# as #12af59 or "red".
|
||||
macos_titlebar_color background
|
||||
|
||||
shell /bin/zsh
|
||||
close_on_child_death no
|
||||
allow_remote_control no
|
||||
term xterm-256color
|
9
mariadbcli/.my.cnf
Normal file
9
mariadbcli/.my.cnf
Normal file
@ -0,0 +1,9 @@
|
||||
[mysql]
|
||||
# Set the pager
|
||||
pager=less -inSFX
|
||||
|
||||
# Sets a custom prompt. Example: `user@localhost (my_database) > `
|
||||
prompt = "\\U (\\d) >\\ "
|
||||
|
||||
# By most databases I work on are UTF8 so I default to UTF8 in the console
|
||||
default-character-set = utf8mb4
|
139
mariadbcli/.myclirc
Normal file
139
mariadbcli/.myclirc
Normal file
@ -0,0 +1,139 @@
|
||||
# vi: ft=dosini
|
||||
[main]
|
||||
|
||||
# Enables context sensitive auto-completion. If this is disabled the all
|
||||
# possible completions will be listed.
|
||||
smart_completion = True
|
||||
|
||||
# Multi-line mode allows breaking up the sql statements into multiple lines. If
|
||||
# this is set to True, then the end of the statements must have a semi-colon.
|
||||
# If this is set to False then sql statements can't be split into multiple
|
||||
# lines. End of line (return) is considered as the end of the statement.
|
||||
multi_line = False
|
||||
|
||||
# Destructive warning mode will alert you before executing a sql statement
|
||||
# that may cause harm to the database such as "drop table", "drop database"
|
||||
# or "shutdown".
|
||||
destructive_warning = True
|
||||
|
||||
# log_file location.
|
||||
log_file = ~/.mycli.log
|
||||
|
||||
# Default log level. Possible values: "CRITICAL", "ERROR", "WARNING", "INFO"
|
||||
# and "DEBUG". "NONE" disables logging.
|
||||
log_level = INFO
|
||||
|
||||
# Log every query and its results to a file. Enable this by uncommenting the
|
||||
# line below.
|
||||
# audit_log = ~/.mycli-audit.log
|
||||
|
||||
# Timing of sql statments and table rendering.
|
||||
timing = True
|
||||
|
||||
# Table format. Possible values: ascii, double, github,
|
||||
# psql, plain, simple, grid, fancy_grid, pipe, orgtbl, rst, mediawiki, html,
|
||||
# latex, latex_booktabs, textile, moinmoin, jira, vertical, tsv, csv.
|
||||
# Recommended: ascii
|
||||
table_format = ascii
|
||||
|
||||
# Syntax coloring style. Possible values (many support the "-dark" suffix):
|
||||
# manni, igor, xcode, vim, autumn, vs, rrt, native, perldoc, borland, tango, emacs,
|
||||
# friendly, monokai, paraiso, colorful, murphy, bw, pastie, paraiso, trac, default,
|
||||
# fruity.
|
||||
# Screenshots at http://mycli.net/syntax
|
||||
syntax_style = default
|
||||
|
||||
# Keybindings: Possible values: emacs, vi.
|
||||
# Emacs mode: Ctrl-A is home, Ctrl-E is end. All emacs keybindings are available in the REPL.
|
||||
# When Vi mode is enabled you can use modal editing features offered by Vi in the REPL.
|
||||
key_bindings = vi
|
||||
|
||||
# Enabling this option will show the suggestions in a wider menu. Thus more items are suggested.
|
||||
wider_completion_menu = True
|
||||
|
||||
# MySQL prompt
|
||||
# \D - The full current date
|
||||
# \d - Database name
|
||||
# \h - Hostname of the server
|
||||
# \m - Minutes of the current time
|
||||
# \n - Newline
|
||||
# \P - AM/PM
|
||||
# \p - Port
|
||||
# \R - The current time, in 24-hour military time (0–23)
|
||||
# \r - The current time, standard 12-hour time (1–12)
|
||||
# \s - Seconds of the current time
|
||||
# \t - Product type (Percona, MySQL, MariaDB)
|
||||
# \u - Username
|
||||
prompt = "\t \u@\h:\d> "
|
||||
prompt_continuation = "-> "
|
||||
|
||||
# Skip intro info on startup and outro info on exit
|
||||
less_chatty = False
|
||||
|
||||
# Use alias from --login-path instead of host name in prompt
|
||||
login_path_as_host = False
|
||||
|
||||
# Cause result sets to be displayed vertically if they are too wide for the current window,
|
||||
# and using normal tabular format otherwise. (This applies to statements terminated by ; or \G.)
|
||||
auto_vertical_output = True
|
||||
|
||||
# keyword casing preference. Possible values "lower", "upper", "auto"
|
||||
keyword_casing = auto
|
||||
|
||||
# disabled pager on startup
|
||||
enable_pager = True
|
||||
|
||||
# Custom colors for the completion menu, toolbar, etc.
|
||||
[colors]
|
||||
# Completion menus.
|
||||
Token.Menu.Completions.Completion.Current = "bg:ansired ansiwhite bold"
|
||||
Token.Menu.Completions.Completion = "bg:ansigray ansiwhite"
|
||||
Token.Menu.Completions.Meta.Current = "bg:ansiyellow ansigray"
|
||||
Token.Menu.Completions.Meta = "bg:ansigray ansiwhite"
|
||||
Token.Menu.Completions.MultiColumnMeta = "bg:ansigray ansiwhite"
|
||||
Token.Menu.Completions.ProgressButton = "bg:ansiblack"
|
||||
Token.Menu.Completions.ProgressBar = "bg:ansiblue"
|
||||
Token.SelectedText = "ansiwhite bg:ansiblue"
|
||||
Token.SearchMatch = "ansiwhite bg:ansiblue"
|
||||
Token.SearchMatch.Current = "ansiwhite bg:ansired"
|
||||
Token.Toolbar = "ansiwhite"
|
||||
Token.Toolbar.Off = "ansigray"
|
||||
Token.Toolbar.On = "bg:ansiblack ansiwhite"
|
||||
Token.Toolbar.Search = noinherit bold
|
||||
Token.Toolbar.Search.Text = nobold
|
||||
Token.Toolbar.System = noinherit bold
|
||||
Token.Toolbar.Arg = noinherit bold
|
||||
Token.Toolbar.Arg.Text = nobold
|
||||
Token.Toolbar.Transaction.Valid = "bg:ansiblack ansigreen bold"
|
||||
Token.Toolbar.Transaction.Failed = "bg:ansiblack ansired bold"
|
||||
|
||||
# not documented
|
||||
# see https://github.com/dagwieers/pygments/blob/master/pygments/styles/default.py
|
||||
Token.Keyword = "ansigreen bold"
|
||||
Token.String = "ansired"
|
||||
Token.String.Other = "ansired"
|
||||
Token.Number = "ansired"
|
||||
|
||||
# Favorite queries.
|
||||
[favorite_queries]
|
||||
|
||||
# ADD INDEX
|
||||
# $1 table name
|
||||
# $2 index name
|
||||
ikey = '''ALTER TABLE `$1`
|
||||
ADD INDEX `IDX_$1_$2` (`$2` ASC)'''
|
||||
|
||||
# ADD FOREIGN KEY
|
||||
# $1 table name
|
||||
# $2 index name
|
||||
# $3 refererance table name name
|
||||
fkey = '''ALTER TABLE `$1`
|
||||
ADD CONSTRAINT `FK_$1_$2`
|
||||
FOREIGN KEY (`$2`)
|
||||
REFERENCES `$3` (`$2`)
|
||||
ON DELETE NO ACTION
|
||||
ON UPDATE NO ACTION'''
|
||||
|
||||
# Use the -d option to reference a DSN.
|
||||
[alias_dsn]
|
||||
# example_dsn = mysql://[user[:password]@][host][:port][/dbname]
|
126
neovim/.config/nvim/UltiSnips/go_perso.snippets
Normal file
126
neovim/.config/nvim/UltiSnips/go_perso.snippets
Normal file
@ -0,0 +1,126 @@
|
||||
# functions test
|
||||
snippet /^test/ "Main function" r
|
||||
func Test_${1:Func}(t *testing.T) {
|
||||
${0:${VISUAL}}
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet tt "table-driven tests"
|
||||
func Test_${1:Func}(t *testing.T) {
|
||||
testCases := []struct {
|
||||
name string
|
||||
expected ${2}
|
||||
${3}
|
||||
}{
|
||||
{
|
||||
name: "happy case",
|
||||
expected: ${4},
|
||||
${5},
|
||||
},
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
actual := ${7}$1(${6:params})
|
||||
|
||||
if $8 {
|
||||
t.Errorf("Expected %v, actual %v", tc.expected, actual)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet tte "table-driven tests with errors"
|
||||
func Test_${1:Func}(t *testing.T) {
|
||||
testCases := []struct {
|
||||
name string
|
||||
expected ${2}
|
||||
${3}
|
||||
wantErr bool
|
||||
}{
|
||||
{
|
||||
name: "happy case",
|
||||
expected: ${4}
|
||||
${5},
|
||||
wantErr: false,
|
||||
},
|
||||
}
|
||||
|
||||
for _, tc := range testCases {
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
actual, err := ${7}$1(${6:params})
|
||||
if (err != nil) != tc.wantErr {
|
||||
t.Errorf("Error '%v' even if wantErr is %t", err, tc.wantErr)
|
||||
return
|
||||
}
|
||||
|
||||
if tc.wantErr == false && $8 {
|
||||
t.Errorf("Expected %v, actual %v", tc.expected, actual)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet err "Basic error handling" b
|
||||
if err != nil {
|
||||
${1}
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet errr "Basic error handling return err" b
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
${1}
|
||||
endsnippet
|
||||
|
||||
snippet errr, "Basic error handling return err with another return" b
|
||||
if err != nil {
|
||||
return ${1:nil}, err
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet errw "Return wrapped error" b
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "${1}")
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet errwf "Basic error handling with wrapping format" b
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "${1}", ${2})
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet errab "Basic abort with error from Gin Context" b
|
||||
if err != nil {
|
||||
_ = c.AbortWithError(http.StatusInternalServerError, err)
|
||||
return
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet errabwf "Basic abort with error from Gin Context" b
|
||||
if err != nil {
|
||||
err = errors.Wrapf(err, "${1}", ${2})
|
||||
c.AbortWithError(http.StatusInternalServerError, err)
|
||||
return
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet /^package/ "Package declaration" b
|
||||
// Package $1 provides ...
|
||||
package ${1:main}
|
||||
$2
|
||||
endsnippet
|
||||
|
||||
snippet switcht "Switch type statement" b
|
||||
switch ${1:expression}${1/(.+)/ /} := ${2:var}.(Type) {
|
||||
case ${0:int}
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet e: "Variable declaration := with error" b
|
||||
${1:name}, err:= ${0:value}
|
||||
endsnippet
|
11
neovim/.config/nvim/UltiSnips/javascript_perso.snippets
Normal file
11
neovim/.config/nvim/UltiSnips/javascript_perso.snippets
Normal file
@ -0,0 +1,11 @@
|
||||
snippet faf "Fat arrow function (faf)" w
|
||||
${1:function_name} = (${2:argument}) => {
|
||||
${VISUAL}$0
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet afaf "Anonymous fat arrow function (faf)" w
|
||||
(${1:argument}) => {
|
||||
${VISUAL}$0
|
||||
}
|
||||
endsnippet
|
154
neovim/.config/nvim/UltiSnips/php_perso.snippets
Normal file
154
neovim/.config/nvim/UltiSnips/php_perso.snippets
Normal file
@ -0,0 +1,154 @@
|
||||
snippet ns "namespace declaration" b
|
||||
namespace ${1:`!p
|
||||
abspath = os.path.abspath(path)
|
||||
m = re.search(r'[A-Z].+(?=/)', abspath)
|
||||
if m:
|
||||
snip.rv = m.group().replace('/', '\\')
|
||||
`};
|
||||
endsnippet
|
||||
|
||||
snippet class "Class declaration template with strict mode" b
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace ${1:`!p
|
||||
relpath = os.path.relpath(path)
|
||||
m = re.search(r'[A-Z].+(?=/)', relpath)
|
||||
if m:
|
||||
snip.rv = m.group().replace('/', '\\')
|
||||
`};
|
||||
|
||||
class ${1:`!p snip.rv=snip.basename`}
|
||||
{
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet classa "Class declaration template with App/ begin namespace" b
|
||||
<?php
|
||||
|
||||
namespace App\\${1:`!p
|
||||
relpath = os.path.relpath(path)
|
||||
m = re.search(r'[A-Z].+(?=/)', relpath)
|
||||
if m:
|
||||
snip.rv = m.group().replace('/', '\\')
|
||||
`};
|
||||
|
||||
class ${1:`!p snip.rv=snip.basename`}
|
||||
{
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet interface "Interface declaration template" b
|
||||
<?php
|
||||
|
||||
namespace ${1:`!p
|
||||
abspath = os.path.abspath(path)
|
||||
m = re.search(r'[A-Z].+(?=/)', abspath)
|
||||
if m:
|
||||
snip.rv = m.group().replace('/', '\\')
|
||||
`};
|
||||
|
||||
/**
|
||||
* Interface ${1:`!p snip.rv=snip.basename`}
|
||||
*/
|
||||
interface $1
|
||||
{
|
||||
public function ${3:someFunction}();$4
|
||||
}
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet pub "Public function" b
|
||||
public function ${1:name}(${2:params})
|
||||
{
|
||||
$0${VISUAL}${3:return null;}
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet pro "Protected function" b
|
||||
protected function ${1:name}()
|
||||
{
|
||||
${VISUAL}${5:return null;}
|
||||
}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet pri "Private function" b
|
||||
private function ${1:name}()
|
||||
{
|
||||
${VISUAL}${5:return null;}
|
||||
}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet pubs "Public static function" b
|
||||
public static function ${1:name}()
|
||||
{
|
||||
${VISUAL}${5:return null;}
|
||||
}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet pros "Protected static function" b
|
||||
protected static function ${1:name}()
|
||||
{
|
||||
${VISUAL}${5:return null;}
|
||||
}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet pris "Private static function" b
|
||||
private static function ${1:name}()
|
||||
{
|
||||
${VISUAL}${5:return null;}
|
||||
}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet fu "Function snip" b
|
||||
function ${1:name}()
|
||||
{
|
||||
${VISUAL}${3:return null;}
|
||||
}
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet new "New class instance" b
|
||||
$${1:variableName} = new ${2:${1/\w+\s*/\u$0/}}($3);
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet ns "namespace declaration" b
|
||||
namespace ${1:`!p
|
||||
relpath = os.path.relpath(path)
|
||||
m = re.search(r'[A-Z].+(?=/)', relpath)
|
||||
if m:
|
||||
snip.rv = m.group().replace('/', '\\')
|
||||
`};
|
||||
endsnippet
|
||||
|
||||
snippet addS "doctrine add sql" b
|
||||
$this->addSql("
|
||||
$0
|
||||
");
|
||||
endsnippet
|
||||
|
||||
snippet classst "Symlex test class declaration" b
|
||||
<?php
|
||||
|
||||
namespace App\\${1:`!p
|
||||
relpath = os.path.relpath(path)
|
||||
m = re.search(r'[A-Z].+(?=/)', relpath)
|
||||
if m:
|
||||
snip.rv = m.group().replace('/', '\\')
|
||||
`};
|
||||
|
||||
use TestTools\TestCase\UnitTestCase;
|
||||
|
||||
class ${1:`!p snip.rv=snip.basename`} extends UnitTestCase
|
||||
{
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet @var "var phpdoc" b
|
||||
/** @var $0 */
|
||||
endsnippet
|
822
neovim/.config/nvim/basic.vim
Normal file
822
neovim/.config/nvim/basic.vim
Normal file
@ -0,0 +1,822 @@
|
||||
" As recommended by `:help provider`, define a venv just for neovim that has
|
||||
" the neovim module and some Python linters
|
||||
let g:python3_host_prog = expand('~/.config/nvim/env/bin/python')
|
||||
|
||||
" Enable nocompatible
|
||||
if has('vim_starting')
|
||||
" set default encoding to utf-8
|
||||
" Let Vim use utf-8 internally, because many scripts require this
|
||||
exe 'set encoding=utf-8'
|
||||
scriptencoding utf-8
|
||||
if &compatible
|
||||
set nocompatible
|
||||
endif
|
||||
" python host
|
||||
if !empty($PYTHON_HOST_PROG)
|
||||
let g:python_host_prog = $PYTHON_HOST_PROG
|
||||
endif
|
||||
if !empty($PYTHON3_HOST_PROG)
|
||||
let g:python3_host_prog = $PYTHON3_HOST_PROG
|
||||
endif
|
||||
endif
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" Sections:
|
||||
" -> Settings (01-settings)
|
||||
" -> Theme (02-theme)
|
||||
" -> Keymap (10-keymap-general, 11-keymap-rtl)
|
||||
" -> File type specific (31-file-type.vim)
|
||||
"
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
" ==================================================
|
||||
" Basic Settings
|
||||
" ==================================================
|
||||
let mapleader="\<Space>" " Change the leader to be a space
|
||||
set cmdheight=2 " Make command line two lines high
|
||||
set scrolloff=7 " Set 7 lines to the cursor - when moving vertically using j/k
|
||||
set sidescrolloff=5 " Have some context around the current line always on screen
|
||||
set cursorline " Have a line indicate the cursor location (slow)
|
||||
set autoindent " Always set autoindenting on
|
||||
set smartindent " Set smart indent
|
||||
set showcmd " Display incomplete commands
|
||||
set ruler " Show the cursor position all the time
|
||||
set rulerformat=%30(%=\:b%n%y%m%r%w\ %l,%c%V\ %P%)
|
||||
set number norelativenumber " Show line numbers
|
||||
set ttyfast " Smoother changes
|
||||
set modeline " Last lines in document sets vim mode
|
||||
set shortmess=atIc " Abbreviate messages
|
||||
set nostartofline " Don't jump to first character when paging
|
||||
set backspace=indent,eol,start
|
||||
set matchpairs+=<:> " Show matching <> (html mainly) as well
|
||||
set showmatch " Show matching brackets when text indicator is over them
|
||||
set matchtime=3 " How many tenths of a second to blink when matching brackets
|
||||
set showmatch " Show matching braces, somewhat annoying...
|
||||
set history=1000 " Sets how many lines of history VIM has to remember
|
||||
set showmode " Show the default mode text (e.g. -- INSERT -- below the statusline)
|
||||
set timeout ttimeoutlen=50
|
||||
set updatetime=300 " Smaller updatetime for CursorHold & CursorHoldI
|
||||
set signcolumn=yes
|
||||
|
||||
set whichwrap+=<,>,h,l,[,]
|
||||
set fileformats=unix,dos,mac
|
||||
set encoding=utf-8
|
||||
set completeopt=longest,menuone " Preview mode causes flickering
|
||||
set clipboard+=unnamedplus " Share the system clipboard
|
||||
|
||||
set splitright " Splits to the right
|
||||
autocmd VimResized * wincmd = " Automatically equalize splits when Vim is resized
|
||||
|
||||
set wildmenu " show list instead of just completing
|
||||
set wildmode=list:longest,full " command <Tab> completion, list matches, then longest common part, then all.
|
||||
set completeopt=menu " Just show the menu upon completion (faster)
|
||||
|
||||
syntax on
|
||||
set synmaxcol=200 " Syntax highlight only the first 200 chars"
|
||||
filetype plugin on
|
||||
filetype indent plugin on
|
||||
|
||||
set colorcolumn=80
|
||||
"set colorcolumn=125 " Comfortable _and_ Github's line length
|
||||
|
||||
if has('linebreak') " Break indent wrapped lines
|
||||
set breakindent
|
||||
let &showbreak = '↳ '
|
||||
set cpo+=n
|
||||
end
|
||||
|
||||
" Linebreak on 500 characters
|
||||
set lbr
|
||||
set tw=80
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Turn persistent undo on means that you can undo
|
||||
" even when you close a buffer/VIM
|
||||
" ==================================================
|
||||
set directory=~/.nvim_runtime/temp_dirs/swap/
|
||||
set backupdir=~/.nvim_runtime/temp_dirs/backup/
|
||||
try
|
||||
set undodir=~/.nvim_runtime/temp_dirs/undodir
|
||||
set undofile
|
||||
catch
|
||||
endtry
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Status line
|
||||
" ==================================================
|
||||
" Always show the status line
|
||||
set laststatus=2
|
||||
|
||||
" Format the status line
|
||||
set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l\ \ Column:\ %c
|
||||
|
||||
" Returns true if paste mode is enabled
|
||||
function! HasPaste()
|
||||
if &paste
|
||||
return 'PASTE MODE '
|
||||
endif
|
||||
return ''
|
||||
endfunction
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Use terminal title as an output
|
||||
" ==================================================
|
||||
set title
|
||||
set titleold="Terminal"
|
||||
set titlestring=%F
|
||||
|
||||
|
||||
" ==================================================
|
||||
" No annoying sound on errors
|
||||
" ==================================================
|
||||
set noerrorbells
|
||||
set novisualbell
|
||||
set t_vb=
|
||||
set tm=500
|
||||
|
||||
" Properly disable sound on errors on MacVim
|
||||
if has("gui_macvim")
|
||||
autocmd GUIEnter * set vb t_vb=
|
||||
endif
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Tab expanded to 8 spaces
|
||||
" ==================================================
|
||||
set tabstop=8 " numbers of spaces of tab character
|
||||
set shiftwidth=8 " numbers of spaces to (auto)indent
|
||||
set expandtab " Tab to spaces by default
|
||||
set softtabstop=8
|
||||
set smarttab " Be smart when using tabs ;)
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Search settings
|
||||
" ==================================================
|
||||
set hlsearch " highlight searches
|
||||
set incsearch " do incremental searching
|
||||
set ignorecase " ignore case when searching
|
||||
set infercase " smarter completions that will be case aware when ignorecase is on
|
||||
set smartcase " if searching and search contains upper case, make case sensitive search
|
||||
set list listchars=trail:»,tab:»-
|
||||
set fillchars+=vert:\
|
||||
|
||||
|
||||
" ==================================================
|
||||
" No modelines for security
|
||||
" ==================================================
|
||||
set modelines=0
|
||||
set nomodeline
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Trailing whitespace handling
|
||||
" ==================================================
|
||||
|
||||
" Highlight end of line whitespace.
|
||||
highlight WhitespaceEOL ctermbg=red guibg=red
|
||||
match WhitespaceEOL /\s\+$/
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Further settings
|
||||
" ==================================================
|
||||
|
||||
" Try to display very long lines, rather than showing @
|
||||
set display+=lastline
|
||||
|
||||
" show trailing whitespace as -, tabs as >-
|
||||
set listchars=tab:>-,trail:-
|
||||
set list
|
||||
|
||||
" Live substitution
|
||||
set inccommand=split
|
||||
|
||||
if has("nvim")
|
||||
set laststatus=1
|
||||
endif
|
||||
|
||||
" Ignore compiled files
|
||||
set wildignore=*.o,*~,*.pyc
|
||||
if has("win16") || has("win32")
|
||||
set wildignore+=.git\*,.hg\*,.svn\*
|
||||
else
|
||||
set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/.DS_Store
|
||||
endif
|
||||
|
||||
" Don't redraw while executing macros (good performance config)
|
||||
set lazyredraw
|
||||
|
||||
" For regular expressions turn magic on
|
||||
set magic
|
||||
|
||||
" when at 3 spaces, and I hit > ... go to 4, not 7
|
||||
set shiftround
|
||||
|
||||
" number of undo saved in memory
|
||||
set undolevels=10000 " How many undos
|
||||
set undoreload=10000 " number of lines to save for undo
|
||||
|
||||
" set list
|
||||
set list listchars=tab:\┆\ ,trail:·,nbsp:±
|
||||
|
||||
" doesn't prompt a warning when opening a file and the current file was written but not saved
|
||||
set hidden
|
||||
|
||||
" no swap file! This is just annoying
|
||||
set noswapfile
|
||||
|
||||
" Fold related
|
||||
set foldlevelstart=0 " Start with all folds closed
|
||||
|
||||
" Set foldtext
|
||||
set foldtext=general#FoldText()
|
||||
|
||||
" Show the substitution LIVE
|
||||
set inccommand=nosplit
|
||||
|
||||
" for vertical pane in git diff tool
|
||||
set diffopt+=vertical
|
||||
|
||||
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
||||
|
||||
" Set to auto read when a file is changed from the outside
|
||||
set autoread
|
||||
|
||||
" indentLine
|
||||
let g:indentLine_char = '▏'
|
||||
let g:indentLine_color_gui = '#363949'
|
||||
|
||||
" vim:set et sw=2:
|
||||
" ==================================================
|
||||
" Color scheme and fonts
|
||||
" ==================================================
|
||||
let g:rainbow_active = 1 "set to 0 if you want to enable it later via :RainbowToggle
|
||||
let g:material_theme_style = 'palenight'
|
||||
|
||||
" disable the mouse - who needs a mouse??
|
||||
set mouse-=a
|
||||
set guicursor=
|
||||
|
||||
" Set font according to system
|
||||
if has("mac") || has("macunix")
|
||||
set gfn=IBM\ Plex\ Mono:h14,Hack:h14,Source\ Code\ Pro:h15,Menlo:h15
|
||||
elseif has("win16") || has("win32")
|
||||
set gfn=IBM\ Plex\ Mono:h14,Source\ Code\ Pro:h12,Bitstream\ Vera\ Sans\ Mono:h11
|
||||
elseif has("gui_gtk2")
|
||||
set gfn=IBM\ Plex\ Mono:h14,:Hack\ 14,Source\ Code\ Pro\ 12,Bitstream\ Vera\ Sans\ Mono\ 11
|
||||
elseif has("linux")
|
||||
set gfn=IBM\ Plex\ Mono:h14,:Hack\ 14,Source\ Code\ Pro\ 12,Bitstream\ Vera\ Sans\ Mono\ 11
|
||||
elseif has("unix")
|
||||
set gfn=Monospace\ 11
|
||||
endif
|
||||
|
||||
" Disable scrollbars (real hackers don't use scrollbars for navigation!)
|
||||
set guioptions-=r
|
||||
set guioptions-=R
|
||||
set guioptions-=l
|
||||
set guioptions-=L
|
||||
|
||||
if (has("nvim"))
|
||||
"For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
|
||||
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
||||
endif
|
||||
|
||||
" Enable 256 colors palette in Gnome Terminal
|
||||
if $COLORTERM == 'gnome-terminal'
|
||||
set t_Co=256
|
||||
endif
|
||||
|
||||
set background=dark
|
||||
"colorscheme material
|
||||
set t_Co=256
|
||||
colorscheme desert
|
||||
hi Conceal guifg=#81A1C1 guibg=NONE ctermbg=NONE
|
||||
let g:palenight_terminal_italics=1
|
||||
let g:material_terminal_italics = 1
|
||||
|
||||
"For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
|
||||
"Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
|
||||
" < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
|
||||
if (has("termguicolors"))
|
||||
" Opaque Background (Comment out to use terminal's profile)
|
||||
set termguicolors
|
||||
endif
|
||||
|
||||
" Set extra options when running in GUI mode
|
||||
if has("gui_running")
|
||||
set guioptions-=T
|
||||
set guioptions-=e
|
||||
set t_Co=256
|
||||
set guitablabel=%M\ %t
|
||||
endif
|
||||
|
||||
highlight Pmenu guibg=white guifg=black gui=bold
|
||||
highlight Comment gui=bold
|
||||
highlight Normal gui=none
|
||||
highlight NonText guibg=none
|
||||
|
||||
" Transparent Background (For i3 and compton)
|
||||
highlight Normal guibg=NONE ctermbg=NONE
|
||||
highlight LineNr guibg=NONE ctermbg=NONE
|
||||
|
||||
"" This will repair colors in Tmux.
|
||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||
|
||||
"" Tmuxline
|
||||
let g:tmuxline_theme = 'vim_statusline_3'
|
||||
let g:tmuxline_preset = 'tmux'
|
||||
|
||||
"" Bufferline
|
||||
let g:bufferline_echo = 0 " This will keep your messages from getting quickly hidden.
|
||||
|
||||
|
||||
" vim:set et sw=2:
|
||||
" ==================================================
|
||||
" Basic Mappings
|
||||
" ==================================================
|
||||
|
||||
" Maps for jj to act as Esc in insert and command modes
|
||||
ino jj <esc>
|
||||
cno jj <c-c>
|
||||
|
||||
" One can map ctrl-c to something else if needed
|
||||
map <c-c> <Nop>
|
||||
imap <c-c> <Nop>
|
||||
|
||||
" Smarter j/k navigation
|
||||
" Convert the j and k movement commands from strict linewise movements to
|
||||
" onscreen display line movements via the gj and gk commands. When
|
||||
" preceded with a count we want to go back to strict linewise movements.
|
||||
" will automatically save movements larger than 5 lines to the jumplist.
|
||||
nnoremap <expr> j v:count ? (v:count > 5 ? "m'" . v:count : '') . 'j' : 'gj'
|
||||
nnoremap <expr> k v:count ? (v:count > 5 ? "m'" . v:count : '') . 'k' : 'gk'
|
||||
|
||||
" Center next/previous matched string
|
||||
nnoremap n nzz
|
||||
nnoremap N Nzz
|
||||
|
||||
" Save session
|
||||
exec 'nnoremap <Leader>ss :mksession! ~/.nvim_runtime/sessions/*.vim<C-D><BS><BS><BS><BS><BS>'
|
||||
" Reload session
|
||||
exec 'nnoremap <Leader>sl :so ~/.nvim_runtime/sessions/*.vim<C-D><BS><BS><BS><BS><BS>'
|
||||
|
||||
" quick make
|
||||
map <F6> :make<CR>
|
||||
|
||||
" simple pasting from the system clipboard
|
||||
" http://tilvim.com/2014/03/18/a-better-paste.html
|
||||
map <Leader>p :set paste<CR>o<esc>"+]p:set nopaste<cr>
|
||||
|
||||
" Quickly save, quit, or save-and-quit
|
||||
map <leader>w :w<CR>
|
||||
map <leader>x :x<CR>
|
||||
map <leader>q :q<CR>
|
||||
|
||||
" un-highlight when esc is pressed
|
||||
map <silent><esc> :noh<cr>
|
||||
|
||||
|
||||
" Quickly toggle relative line numbers
|
||||
function ToggleRelativeLineNumbers()
|
||||
set invnumber
|
||||
set invrelativenumber
|
||||
endfunction
|
||||
nnoremap <leader>l :call ToggleRelativeLineNumbers()<cr>
|
||||
" Toggle between absolute -> relative line number
|
||||
"nnoremap <C-n> :let [&nu, &rnu] = [&nu, &nu+&rnu==1]<CR>
|
||||
|
||||
|
||||
" Save files as root
|
||||
cnoremap w!! execute ':w suda://%'
|
||||
|
||||
" ==================================================
|
||||
" vimrc handling
|
||||
" ==================================================
|
||||
|
||||
" ,v loads .vimrc
|
||||
" ,V reloads .vimrc -- activating changes (needs save)
|
||||
map <leader>v :sp ~/.config/nvim/init.vim<CR><C-W>_
|
||||
map <silent> <leader>V :source ~/.config/nvim/init.vim<CR>:filetype detect<CR>:exe ":echo 'vimrc reloaded'"<CR>
|
||||
|
||||
" ==================================================
|
||||
" Window navigation
|
||||
" ==================================================
|
||||
|
||||
" control + vim direction key to navigate windows
|
||||
noremap <C-J> <C-W>j
|
||||
noremap <C-K> <C-W>k
|
||||
noremap <C-H> <C-W>h
|
||||
noremap <C-L> <C-W>l
|
||||
|
||||
" control + arrow key to navigate windows
|
||||
noremap <C-Down> <C-W>j
|
||||
noremap <C-Up> <C-W>k
|
||||
noremap <C-Left> <C-W>h
|
||||
noremap <C-Right> <C-W>l
|
||||
|
||||
" close all windows except the current one
|
||||
nnoremap <leader>wco :only<cr>
|
||||
nnoremap <leader>wcc :cclose<cr>
|
||||
|
||||
" windows creation
|
||||
" create window on the bottom
|
||||
nnoremap <leader>wb <c-w>s
|
||||
" create vertival window
|
||||
nnoremap <leader>wv <c-w>v
|
||||
|
||||
" " arrow keys resize windows
|
||||
" nnoremap <Left> :vertical resize -10<CR>
|
||||
" nnoremap <Right> :vertical resize +10<CR>
|
||||
" nnoremap <Up> :resize -10<CR>
|
||||
" nnoremap <Down> :resize +10<CR>
|
||||
" imap <up> <nop>
|
||||
" imap <down> <nop>
|
||||
" imap <left> <nop>
|
||||
" imap <right> <nop>
|
||||
|
||||
" ==================================================
|
||||
" Splits handling
|
||||
" ==================================================
|
||||
|
||||
" Make these all work in insert mode
|
||||
imap <C-W> <C-O><C-W>
|
||||
|
||||
" - and + to resize horizontal splits
|
||||
map - <C-W>-
|
||||
map + <C-W>+
|
||||
|
||||
" alt-< or alt-> for vertical splits
|
||||
map <m-,> <C-W>>
|
||||
map <m-.> <C-W><
|
||||
|
||||
" F2 close current split (window)
|
||||
noremap <F2> <Esc>:close<CR><Esc>
|
||||
|
||||
" Deleter buffer, keep the split (switch to prev buf, delete now prev buf)
|
||||
nmap <leader>d :b#<bar>bd#<CR>
|
||||
|
||||
" ==================================================
|
||||
" Tab navigation
|
||||
" ==================================================
|
||||
map <leader>to :tabonly<cr>
|
||||
map <leader>tc :tabclose<cr>
|
||||
map <leader>tm :tabmove<CR>
|
||||
nnoremap tn :tabnew<cr>
|
||||
nnoremap th :tabfirst<CR>
|
||||
nnoremap tk :tabnext<CR>
|
||||
nnoremap tj :tabprev<CR>
|
||||
nnoremap tl :tablast<CR>
|
||||
|
||||
" move tab to first position
|
||||
nnoremap tF :tabm 0<CR>
|
||||
nnoremap tL :tabm<CR>
|
||||
|
||||
" Navigate tabs with shift-{h,l}
|
||||
noremap <S-l> gt
|
||||
noremap <S-h> gT
|
||||
|
||||
" Let 'tl' toggle between this and the last accessed tab
|
||||
let g:lasttab = 1
|
||||
nmap <Leader>tl :exe "tabn ".g:lasttab<CR>
|
||||
au TabLeave * let g:lasttab = tabpagenr()
|
||||
|
||||
" Opens a new tab with the current buffer's path
|
||||
" Super useful when editing files in the same directory
|
||||
map <leader>te :tabedit <c-r>=expand("%:p:h")<cr>/
|
||||
|
||||
" Switch CWD to the directory of the open buffer
|
||||
map <leader>cd :cd %:p:h<cr>:pwd<cr>
|
||||
|
||||
" Specify the behavior when switching between buffers
|
||||
try
|
||||
set switchbuf=useopen,usetab,newtab
|
||||
set stal=2
|
||||
catch
|
||||
endtry
|
||||
|
||||
" ==================================================
|
||||
" Buffer navigation
|
||||
" ==================================================
|
||||
nmap <A-Tab> :bnext<CR>
|
||||
nmap <S-Tab> :bprevious<CR>
|
||||
|
||||
" ==================================================
|
||||
" Clean all end of line whitespace with <Leader>S
|
||||
" ==================================================
|
||||
":nnoremap <silent><leader>S :let _s=@/<Bar>:%s/\s\+$//e<Bar>:let @/=_s<Bar>:nohl<CR>
|
||||
fun! TrimWhitespace()
|
||||
let l:save = winsaveview()
|
||||
keeppatterns %s/\s\+$//e
|
||||
call winrestview(l:save)
|
||||
endfun
|
||||
:nnoremap <silent><leader>S :call TrimWhitespace()<CR>
|
||||
|
||||
" ==================================================
|
||||
" Visual mode related
|
||||
" ==================================================
|
||||
" Visual mode pressing * or # searches for the current selection
|
||||
" Super useful! From an idea by Michael Naumann
|
||||
vnoremap <silent> * :<C-u>call VisualSelection('', '')<CR>/<C-R>=@/<CR><CR>
|
||||
vnoremap <silent> # :<C-u>call VisualSelection('', '')<CR>?<C-R>=@/<CR><CR>
|
||||
|
||||
function! VisualSelection(direction, extra_filter) range
|
||||
let l:saved_reg = @"
|
||||
execute "normal! vgvy"
|
||||
|
||||
let l:pattern = escape(@", "\\/.*'$^~[]")
|
||||
let l:pattern = substitute(l:pattern, "\n$", "", "")
|
||||
|
||||
if a:direction == 'gv'
|
||||
call CmdLine("Ack '" . l:pattern . "' " )
|
||||
elseif a:direction == 'replace'
|
||||
call CmdLine("%s" . '/'. l:pattern . '/')
|
||||
endif
|
||||
|
||||
let @/ = l:pattern
|
||||
let @" = l:saved_reg
|
||||
endfunction
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Editing mappings
|
||||
" ==================================================
|
||||
" Remap VIM 0 to first non-blank character
|
||||
map 0 ^
|
||||
|
||||
" Move a line of text using ALT+[jk] or Command+[jk] on mac
|
||||
nmap <M-j> mz:m+<cr>`z
|
||||
nmap <M-k> mz:m-2<cr>`z
|
||||
vmap <M-j> :m'>+<cr>`<my`>mzgv`yo`z
|
||||
vmap <M-k> :m'<-2<cr>`>my`<mzgv`yo`z
|
||||
|
||||
if has("mac") || has("macunix")
|
||||
nmap <D-j> <M-j>
|
||||
nmap <D-k> <M-k>
|
||||
vmap <D-j> <M-j>
|
||||
vmap <D-k> <M-k>
|
||||
endif
|
||||
|
||||
" ==================================================
|
||||
" Spell checking
|
||||
" ==================================================
|
||||
" Pressing ,ss will toggle and untoggle spell checking
|
||||
map <leader>ss :setlocal spell!<cr>
|
||||
|
||||
" Shortcuts using <leader>
|
||||
map <leader>sn ]s
|
||||
map <leader>sp [s
|
||||
map <leader>sa zg
|
||||
map <leader>s? z=
|
||||
|
||||
" ==================================================
|
||||
" Other Configurations
|
||||
" ==================================================
|
||||
|
||||
" Remove the Windows ^M - when the encodings gets messed up
|
||||
noremap <Leader>m mmHmt:%s/<C-V><cr>//ge<cr>'tzt'm
|
||||
|
||||
" Quickly open a buffer for scribble
|
||||
map <leader>q :e ~/buffer<cr>
|
||||
|
||||
" Quickly open a markdown buffer for scribble
|
||||
map <leader>x :e ~/buffer.md<cr>
|
||||
|
||||
" Toggle paste mode on and off
|
||||
map <leader>pp :setlocal paste!<cr>
|
||||
|
||||
noremap <C-p> :Denite buffer file_rec tag<CR>
|
||||
|
||||
xmap <leader>a gaip*
|
||||
nmap <leader>t <C-w>s<C-w>j:terminal<CR>
|
||||
nmap <leader>vt <C-w>v<C-w>l:terminal<CR>
|
||||
nmap <leader>g :Goyo<CR>
|
||||
nmap <leader>j :set filetype=journal<CR>
|
||||
nmap <leader>l :Limelight!!<CR>
|
||||
autocmd FileType python nmap <leader>x :0,$!~/.config/nvim/env/bin/python -m yapf<CR>
|
||||
|
||||
vmap <F2> !boxes -d stone
|
||||
|
||||
" surround by quotes - frequently use cases of vim-surround
|
||||
map <leader>" ysiw"<cr>
|
||||
map <leader>' ysiw'<cr>
|
||||
|
||||
" Act like D and C
|
||||
nnoremap Y y$
|
||||
|
||||
" indent without kill the selection in vmode
|
||||
vmap < <gv
|
||||
vmap > >gv
|
||||
|
||||
" remap the annoying u in visual mode
|
||||
vmap u y
|
||||
|
||||
" shortcut to substitute current word under cursor
|
||||
nnoremap <leader>[ :%s/<c-r><c-w>//g<left><left>
|
||||
|
||||
" Change in next bracket
|
||||
nmap cinb cib
|
||||
|
||||
" Visual mode pressing * or # searches for the current selection
|
||||
" Super useful! From an idea by Michael Naumann
|
||||
vnoremap <silent> * :<C-u>call general#VisualSelection('', '')<CR>/<C-R>=@/<CR><CR>
|
||||
vnoremap <silent> # :<C-u>call general#VisualSelection('', '')<CR>?<C-R>=@/<CR><CR>
|
||||
|
||||
" delete character after cursor in insert mode
|
||||
inoremap <C-d> <Del>
|
||||
|
||||
" highlight the line which is longer than the defined margin (120 character)
|
||||
highlight MaxLineChar ctermbg=red
|
||||
autocmd FileType php,js,vue,go call matchadd('MaxLineChar', '\%120v', 100)
|
||||
|
||||
" open devdocs.io with waterfox and search the word under the cursor
|
||||
command! -nargs=? DevDocs :call system('type -p open >/dev/null 2>&1 && open https://devdocs.io/#q=<args> || waterfox -url https://devdocs.io/#q=<args>')
|
||||
autocmd FileType python,ruby,rspec,javascript,go,html,php,eruby,coffee,haml nmap <buffer> <leader>D :exec "DevDocs " . fnameescape(expand('<cword>'))<CR>
|
||||
|
||||
" Markdown
|
||||
autocmd BufNewFile,BufFilePre,BufRead *.md set filetype=markdown
|
||||
|
||||
" Keep the cursor in place while joining lines
|
||||
nnoremap J mzJ`z
|
||||
|
||||
" Quit neovim terminal
|
||||
tnoremap <C-\> <C-\><C-n>
|
||||
|
||||
" Open images with feh
|
||||
autocmd BufEnter *.png,*.jpg,*gif silent! exec "! feh ".expand("%") | :bw
|
||||
|
||||
" A |Dict| specifies the matcher for filtering and sorting the completion candidates.
|
||||
let g:cm_matcher={'module': 'cm_matchers.abbrev_matcher', 'case': 'smartcase'}
|
||||
|
||||
" Disable anoying ex mode
|
||||
nnoremap Q <Nop>
|
||||
|
||||
" Neovim :Terminal
|
||||
tmap <Esc> <C-\><C-n>
|
||||
tmap <C-w> <Esc><C-w>
|
||||
autocmd BufWinEnter,WinEnter term://* startinsert
|
||||
autocmd BufLeave term://* stopinsert
|
||||
|
||||
" vim:set et sw=2:
|
||||
" ==================================================
|
||||
" Right-to-Left (Hebrew etc) shortcuts
|
||||
" ==================================================
|
||||
|
||||
" toggle direction mapping
|
||||
" this is useful for logical-order editing
|
||||
map <F9> :set invrl<CR>
|
||||
" do it when in insert mode as well (and return to insert mode)
|
||||
imap <F9> <Esc>:set invrl<CR>a
|
||||
|
||||
" toggle reverse insertion
|
||||
" this is useful for visual-order editing
|
||||
map <F8> :set invrevins<CR>
|
||||
" do it when in insert mode as well (and return to insert mode)
|
||||
imap <F8> <Esc>:set invrevins<CR>a
|
||||
|
||||
" vim:set et sw=2:
|
||||
" ===================================================================
|
||||
" FileType and Indentation settings
|
||||
"
|
||||
" Recommended: Don't rely on this, use editorconfig " in your project
|
||||
" ===================================================================
|
||||
|
||||
" define less filetype
|
||||
au BufNewFile,BufRead *.less set filetype=less
|
||||
|
||||
" make the smarty .tpl files html files for our purposes
|
||||
au BufNewFile,BufRead *.tpl set filetype=html
|
||||
|
||||
" json
|
||||
au! BufRead,BufNewFile *.json set filetype=json
|
||||
|
||||
" jquery
|
||||
au BufRead,BufNewFile jquery.*.js set ft=javascript syntax=jquery
|
||||
|
||||
autocmd Filetype html setlocal ts=2 sw=2 expandtab
|
||||
autocmd Filetype xhtml setlocal ts=2 sw=2 expandtab
|
||||
autocmd Filetype xml setlocal ts=2 sw=2 expandtab
|
||||
autocmd Filetype css setlocal ts=2 sw=2 expandtab
|
||||
autocmd Filetype less setlocal ts=2 sw=2 expandtab
|
||||
autocmd Filetype ruby setlocal ts=2 sw=2 expandtab
|
||||
autocmd Filetype javascript setlocal ts=4 sw=4 sts=0 noexpandtab
|
||||
autocmd Filetype python setlocal omnifunc=jedi#completions tw=79
|
||||
\ completeopt-=preview
|
||||
\ formatoptions+=c
|
||||
|
||||
|
||||
" HTML, XML, Jinja
|
||||
autocmd FileType html setlocal shiftwidth=2 tabstop=2 softtabstop=2
|
||||
autocmd FileType css setlocal shiftwidth=2 tabstop=2 softtabstop=2
|
||||
autocmd FileType xml setlocal shiftwidth=2 tabstop=2 softtabstop=2
|
||||
autocmd FileType htmldjango setlocal shiftwidth=2 tabstop=2 softtabstop=2
|
||||
autocmd FileType htmldjango inoremap {{ {{ }}<left><left><left>
|
||||
autocmd FileType htmldjango inoremap {% {% %}<left><left><left>
|
||||
autocmd FileType htmldjango inoremap {# {# #}<left><left><left>
|
||||
|
||||
" LaTeX
|
||||
let g:tex_flavor='latex'
|
||||
let g:vimtex_view_method='zathura'
|
||||
let g:vimtex_quickfix_mode=0
|
||||
set conceallevel=1
|
||||
let g:tex_conceal='abdmg'
|
||||
|
||||
" Markdown and Journal
|
||||
autocmd FileType markdown setlocal shiftwidth=2 tabstop=2 softtabstop=2
|
||||
autocmd FileType journal setlocal shiftwidth=2 tabstop=2 softtabstop=2
|
||||
|
||||
" Always assume .tex files are LaTeX
|
||||
let g:tex_flavor = "latex"
|
||||
|
||||
" Don't autocomplete filenames that match these patterns
|
||||
" Version control
|
||||
set wildignore=.svn,.git
|
||||
" Compiled formats
|
||||
set wildignore+=*.o,*.pyc
|
||||
" Images
|
||||
set wildignore+=*.jpg,*.png,*.pdf
|
||||
" Auxilary LaTeX files
|
||||
set wildignore+=*.aux,*.bbl,*.blg,*.out,*.toc
|
||||
" Web development
|
||||
set wildignore+=vendor,_site,tmp,node_modules,bower_components
|
||||
" Script outputs
|
||||
set wildignore+=output
|
||||
|
||||
au BufNewFile,BufRead ~/.mutt/tmp/neomutt-* setlocal filetype=mail
|
||||
|
||||
" Makefiles require actual tabs
|
||||
au FileType make setlocal noexpandtab
|
||||
|
||||
" Don't create backup files when editing crontabs
|
||||
au filetype crontab setlocal nobackup nowritebackup
|
||||
|
||||
" Python style uses 4 spaces as tabs
|
||||
au FileType python setlocal tabstop=4 shiftwidth=4
|
||||
|
||||
au BufNewFile,BufRead *.md setlocal filetype=markdown syntax=markdown
|
||||
au BufNewFile,BufRead *.markdown setlocal syntax=markdown
|
||||
|
||||
" Spellchecking in LaTeX, Markdown
|
||||
au FileType tex,plaintex,markdown setlocal spelllang=en_gb spell formatoptions=tcroqlj
|
||||
|
||||
" Wrap Python automatically at 80 characters
|
||||
au FileType python setlocal textwidth=79 formatoptions=tcroqlj
|
||||
|
||||
" relativenumber can be very slow when combined with a language whose syntax
|
||||
" highlighting regexs are complex
|
||||
" https://github.com/neovim/neovim/issues/2401
|
||||
" https://groups.google.com/forum/#!topic/vim_use/ebRiypE2Xuw
|
||||
au FileType tex set norelativenumber
|
||||
|
||||
" Enable marker folder for Beancount files
|
||||
au FileType beancount set foldmethod=marker foldlevel=0 foldlevelstart=0
|
||||
|
||||
" I often type `#` to start a comment, as alt-3, then hit space
|
||||
" alt-space is a UTF non-breaking space character, which can give encoding errors
|
||||
highlight UTFSpaceComment ctermfg=White ctermbg=1
|
||||
au BufNewFile,BufRead * :syn match UTFSpaceComment '.\%uA0'
|
||||
|
||||
augroup mail
|
||||
au!
|
||||
|
||||
au FileType mail setlocal spell spelllang=en_gb
|
||||
|
||||
" Common standard used in plaintext emails
|
||||
au FileType mail setlocal textwidth=72
|
||||
|
||||
" w: Lines ending with spaces continue on the next line, used in combination
|
||||
" with Mutt's text_flowed option
|
||||
" a: Format automatically
|
||||
" t: Wrap using textwidth
|
||||
" c: Wrap comments using textwidth
|
||||
" q: Format with gq macro
|
||||
au FileType mail setlocal formatoptions=watcq
|
||||
|
||||
" Define comment leaders as in a Markdown document, that is:
|
||||
" * Treat *, -, +, and > as comment leaders
|
||||
" * Characters *, -, + begin comments when followed by a space, and wrapped
|
||||
" lines immediately after these should be indented
|
||||
" * Comments starting with > can be nested
|
||||
au FileType mail setlocal comments=fb:*,fb:-,fb:+,n:>
|
||||
|
||||
" Install an autogroup that triggers when inside a `mail.*` syntax group
|
||||
au FileType mail call OnSyntaxChange#Install('NoWrapElements', '^mail', 1, 'a')
|
||||
|
||||
" Use the trigger to disable/enable text wrapping when leaving/enter the
|
||||
" mail body (i.e. we only want wrapping in the mail body).
|
||||
au FileType mail autocmd User SyntaxNoWrapElementsEnterA setlocal formatoptions-=watc
|
||||
au FileType mail autocmd User SyntaxNoWrapElementsLeaveA setlocal formatoptions+=watc
|
||||
augroup end
|
||||
|
||||
" Twig
|
||||
autocmd BufNewFile,BufRead *.twig set filetype=html.twig
|
||||
|
||||
" PHP
|
||||
command! -nargs=1 Silent execute ':silent !'.<q-args> | execute ':redraw!'
|
||||
map <c-s> <esc>:w<cr>:Silent php-cs-fixer fix %:p --level=symfony<cr>
|
||||
|
||||
" vim:set et sw=2:
|
31
neovim/.config/nvim/basic_header.vim
Normal file
31
neovim/.config/nvim/basic_header.vim
Normal file
@ -0,0 +1,31 @@
|
||||
" As recommended by `:help provider`, define a venv just for neovim that has
|
||||
" the neovim module and some Python linters
|
||||
let g:python3_host_prog = expand('~/.config/nvim/env/bin/python')
|
||||
|
||||
" Enable nocompatible
|
||||
if has('vim_starting')
|
||||
" set default encoding to utf-8
|
||||
" Let Vim use utf-8 internally, because many scripts require this
|
||||
exe 'set encoding=utf-8'
|
||||
scriptencoding utf-8
|
||||
if &compatible
|
||||
set nocompatible
|
||||
endif
|
||||
" python host
|
||||
if !empty($PYTHON_HOST_PROG)
|
||||
let g:python_host_prog = $PYTHON_HOST_PROG
|
||||
endif
|
||||
if !empty($PYTHON3_HOST_PROG)
|
||||
let g:python3_host_prog = $PYTHON3_HOST_PROG
|
||||
endif
|
||||
endif
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" Sections:
|
||||
" -> Settings (01-settings)
|
||||
" -> Theme (02-theme)
|
||||
" -> Keymap (10-keymap-general, 11-keymap-rtl)
|
||||
" -> File type specific (31-file-type.vim)
|
||||
"
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
58
neovim/.config/nvim/experiments/20-coc.vim
Normal file
58
neovim/.config/nvim/experiments/20-coc.vim
Normal file
@ -0,0 +1,58 @@
|
||||
" ==================================================
|
||||
" COC configuration and mapping
|
||||
" ==================================================
|
||||
|
||||
" Use `lp` and `ln` for navigate diagnostics
|
||||
nmap <silent> <leader>lp <Plug>(coc-diagnostic-prev)
|
||||
nmap <silent> <leader>ln <Plug>(coc-diagnostic-next)
|
||||
|
||||
" Remap keys for gotos
|
||||
nmap <silent> <leader>ld <Plug>(coc-definition)
|
||||
nmap <silent> <leader>lt <Plug>(coc-type-definition)
|
||||
nmap <silent> <leader>li <Plug>(coc-implementation)
|
||||
nmap <silent> <leader>lf <Plug>(coc-references)
|
||||
|
||||
" Remap for rename current word
|
||||
nmap <leader>lr <Plug>(coc-rename)
|
||||
|
||||
" Use K for show documentation in preview window
|
||||
nnoremap <silent> K :call <SID>show_documentation()<CR>
|
||||
|
||||
function! s:show_documentation()
|
||||
if &filetype == 'vim'
|
||||
execute 'h '.expand('<cword>')
|
||||
else
|
||||
call CocAction('doHover')
|
||||
endif
|
||||
endfunction
|
||||
|
||||
" Coc extensions
|
||||
let g:coc_global_extensions = [
|
||||
\ 'coc-emoji',
|
||||
\ 'coc-diagnostic',
|
||||
\ 'coc-pairs',
|
||||
\ 'coc-ultisnips',
|
||||
\ 'coc-css',
|
||||
\ 'coc-html',
|
||||
\ 'coc-java',
|
||||
\ 'coc-tsserver',
|
||||
\ 'coc-vimtex',
|
||||
\ 'coc-yaml',
|
||||
\ 'coc-json',
|
||||
\]
|
||||
|
||||
" \ 'coc-highlight',
|
||||
" \ 'coc-dictionary',
|
||||
" \ 'coc-syntax',
|
||||
|
||||
" outliner
|
||||
let g:vista_default_executive = 'coc'
|
||||
let g:vista#renderer#enable_icon = 0
|
||||
" nnoremap <leader>o :Vista!!<CR>
|
||||
|
||||
" Coc Pairs
|
||||
inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm() : "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
|
||||
autocmd FileType tex let b:coc_pairs = [["$", "$"]]
|
||||
autocmd FileType markdown let b:coc_pairs_disabled = ['`']
|
||||
|
||||
" vim:set et sw=2:
|
22
neovim/.config/nvim/experiments/coc-settings.json
Normal file
22
neovim/.config/nvim/experiments/coc-settings.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"diagnostic-languageserver.filetypes": {
|
||||
// lint `sh` (includes `bash`) files
|
||||
"sh": "shellcheck"
|
||||
},
|
||||
"diagnostic-languageserver.formatFiletypes": {
|
||||
// format `sh` (includes `bash`) files using formatter defined below
|
||||
"sh": "shfmt"
|
||||
},
|
||||
"diagnostic-languageserver.formatters": {
|
||||
// define our formatter so that we can reference it from
|
||||
// `diagnostic-languageserver.formatFiletypes`
|
||||
"shfmt": {
|
||||
"command": "shfmt",
|
||||
// all the below args are entirely optional
|
||||
// primarily listed here to call out that flags which take an
|
||||
// argument (such as `-i <num-spaces>` for specifying indentation)
|
||||
// should be split into two strings, the flag and then the value
|
||||
"args": ["-i", "2", "-bn", "-ci", "-sr"]
|
||||
}
|
||||
},
|
||||
}
|
257
neovim/.config/nvim/experiments/replace_deoplete_with_co.diff
Normal file
257
neovim/.config/nvim/experiments/replace_deoplete_with_co.diff
Normal file
@ -0,0 +1,257 @@
|
||||
diff --git a/neovim/.config/nvim/rc.d/00-plugins.vim b/neovim/.config/nvim/rc.d/00-plugins.vim
|
||||
index a66b51d..ba57bc6 100644
|
||||
--- a/neovim/.config/nvim/rc.d/00-plugins.vim
|
||||
+++ b/neovim/.config/nvim/rc.d/00-plugins.vim
|
||||
@@ -87,7 +87,6 @@ Plug 'majutsushi/tagbar'
|
||||
Plug 'liuchengxu/vista.vim'
|
||||
Plug 'editorconfig/editorconfig-vim'
|
||||
Plug 'vim-scripts/Shebang'
|
||||
-Plug 'w0rp/ale'
|
||||
Plug 'sirver/ultisnips'
|
||||
Plug 'honza/vim-snippets'
|
||||
Plug 'Valloric/MatchTagAlways'
|
||||
@@ -152,7 +151,6 @@ Plug 'vim-scripts/po.vim--Jelenak'
|
||||
|
||||
" PHP Support
|
||||
Plug 'phpactor/phpactor' , {'do': 'composer install', 'for': 'php'}
|
||||
-Plug 'kristijanhusak/deoplete-phpactor'
|
||||
Plug 'vim-php/tagbar-phpctags.vim'
|
||||
Plug 'tobyS/pdv'
|
||||
Plug 'StanAngeloff/php.vim'
|
||||
@@ -191,6 +189,8 @@ Plug 'lumiliet/vim-twig', {'for': 'twig'}
|
||||
|
||||
" javascript plugins
|
||||
Plug 'pangloss/vim-javascript'
|
||||
+Plug 'ternjs/tern_for_vim', { 'for': ['javascript', 'javascript.jsx', 'vue'], 'do': 'npm install'}
|
||||
+
|
||||
Plug 'leafgarland/typescript-vim'
|
||||
|
||||
" For react
|
||||
@@ -200,19 +200,12 @@ Plug 'mxw/vim-jsx'
|
||||
Plug 'posva/vim-vue'
|
||||
|
||||
" Autocomplete
|
||||
-Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
-Plug 'zchee/deoplete-clang'
|
||||
-Plug 'carlitux/deoplete-ternjs', { 'do': 'npm install -g tern' }
|
||||
-Plug 'wokalski/autocomplete-flow'
|
||||
-Plug 'sebastianmarkow/deoplete-rust'
|
||||
-Plug 'shougo/neoinclude.vim'
|
||||
-Plug 'zchee/deoplete-jedi'
|
||||
-Plug 'shougo/neco-vim'
|
||||
+Plug 'neoclide/coc.nvim', {'branch': 'release', 'do': { -> coc#util#install()}}
|
||||
+Plug 'neoclide/coc-neco'
|
||||
Plug 'othree/csscomplete.vim'
|
||||
Plug 'othree/html5.vim'
|
||||
Plug 'othree/xml.vim'
|
||||
Plug 'c9s/perlomni.vim'
|
||||
-Plug 'artur-shaik/vim-javacomplete2'
|
||||
|
||||
|
||||
" CSV plugin
|
||||
diff --git a/neovim/.config/nvim/rc.d/20-ale.vim b/neovim/.config/nvim/rc.d/20-ale.vim
|
||||
deleted file mode 100644
|
||||
index d513954..0000000
|
||||
--- a/neovim/.config/nvim/rc.d/20-ale.vim
|
||||
+++ /dev/null
|
||||
@@ -1,68 +0,0 @@
|
||||
-" ===================================================================
|
||||
-" ale (Asynchronous Lint Engine) settings
|
||||
-" ===================================================================
|
||||
-
|
||||
-" Syntax / File Support
|
||||
-"" Enable JSDoc syntax highlighting
|
||||
-let g:javascript_plugin_jsdoc = 1
|
||||
-
|
||||
-"" Add an error indicator to Ale
|
||||
-let g:ale_sign_column_always = 1
|
||||
-
|
||||
-function! LinterStatus() abort
|
||||
- let l:counts = ale#statusline#Count(bufnr(''))
|
||||
-
|
||||
- let l:all_errors = l:counts.error + l:counts.style_error
|
||||
- let l:all_non_errors = l:counts.total - l:all_errors
|
||||
-
|
||||
- return l:counts.total == 0 ? 'OK' : printf(
|
||||
- \ '%dW %dE',
|
||||
- \ all_non_errors,
|
||||
- \ all_errors
|
||||
- \)
|
||||
-endfunction
|
||||
-
|
||||
-set statusline=%{LinterStatus()}
|
||||
-
|
||||
-nmap <silent> <leader>e <Plug>(ale_next_wrap)
|
||||
-nmap <silent> <leader>q <Plug>(ale_previous_wrap)
|
||||
-
|
||||
-" Ale
|
||||
-let g:ale_lint_on_enter = 0
|
||||
-let g:ale_lint_on_text_changed = 'never'
|
||||
-let g:ale_echo_msg_error_str = 'E'
|
||||
-let g:ale_echo_msg_warning_str = 'W'
|
||||
-let g:ale_echo_msg_format = '[%linter%] %s [%severity%]'
|
||||
-let g:ale_open_list = 1
|
||||
-let g:ale_keep_list_window_open=0
|
||||
-let g:ale_set_quickfix=0
|
||||
-let g:ale_list_window_size = 5
|
||||
-let g:ale_linters = {'python': ['flake8']}
|
||||
-let g:ale_sign_error = '✖'
|
||||
-let g:ale_sign_warning = '⚠'
|
||||
-let g:ale_fixers = {
|
||||
- \ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
||||
- \}
|
||||
-" \ 'php': ['phpcbf', 'php_cs_fixer', 'remove_trailing_lines', 'trim_whitespace'],
|
||||
-let g:ale_fix_on_save = 1
|
||||
-
|
||||
-" Use system flake8
|
||||
-let g:ale_python_flake8_executable = '/usr/bin/flake8'
|
||||
-
|
||||
-" Append our Neovim virtualenv to the list of venvs ale searches for
|
||||
-" The search is performed from the buffer directory up, until a name match is
|
||||
-" found; our Neovim venv lives in ~/.nvim-venv
|
||||
-let g:ale_virtualenv_dir_names = ['.env', '.venv', 'env', 'virtualenv', 'venv', '.nvim-venv']
|
||||
-" Explicitly list linters we care about
|
||||
-let g:ale_linters = {'python': ['flake8', 'pylint']}
|
||||
-" Only show warnings and errors from pylint
|
||||
-let g:ale_python_pylint_options = '--disable C,R'
|
||||
-let g:ale_sign_warning = '→'
|
||||
-let g:ale_sign_error = '→'
|
||||
-
|
||||
-" PHP Support
|
||||
-let g:ale_php_phpcbf_standard='PSR2'
|
||||
-let g:ale_php_phpcs_standard='phpcs.xml.dist'
|
||||
-let g:ale_php_phpmd_ruleset='phpmd.xml'
|
||||
-
|
||||
-" vim:set et sw=2:
|
||||
diff --git a/neovim/.config/nvim/rc.d/20-coc.vim b/neovim/.config/nvim/rc.d/20-coc.vim
|
||||
new file mode 100644
|
||||
index 0000000..dfad4a0
|
||||
--- /dev/null
|
||||
+++ b/neovim/.config/nvim/rc.d/20-coc.vim
|
||||
@@ -0,0 +1,57 @@
|
||||
+" ==================================================
|
||||
+" COC configuration and mapping
|
||||
+" ==================================================
|
||||
+
|
||||
+" Use `lp` and `ln` for navigate diagnostics
|
||||
+nmap <silent> <leader>lp <Plug>(coc-diagnostic-prev)
|
||||
+nmap <silent> <leader>ln <Plug>(coc-diagnostic-next)
|
||||
+
|
||||
+" Remap keys for gotos
|
||||
+nmap <silent> <leader>ld <Plug>(coc-definition)
|
||||
+nmap <silent> <leader>lt <Plug>(coc-type-definition)
|
||||
+nmap <silent> <leader>li <Plug>(coc-implementation)
|
||||
+nmap <silent> <leader>lf <Plug>(coc-references)
|
||||
+
|
||||
+" Remap for rename current word
|
||||
+nmap <leader>lr <Plug>(coc-rename)
|
||||
+
|
||||
+" Use K for show documentation in preview window
|
||||
+nnoremap <silent> K :call <SID>show_documentation()<CR>
|
||||
+
|
||||
+function! s:show_documentation()
|
||||
+ if &filetype == 'vim'
|
||||
+ execute 'h '.expand('<cword>')
|
||||
+ else
|
||||
+ call CocAction('doHover')
|
||||
+ endif
|
||||
+endfunction
|
||||
+
|
||||
+" Coc extensions
|
||||
+let g:coc_global_extensions = [
|
||||
+ \ 'coc-json',
|
||||
+ \ 'coc-css',
|
||||
+ \ 'coc-tsserver',
|
||||
+ \ 'coc-emoji',
|
||||
+ \ 'coc-html',
|
||||
+ \ 'coc-ultisnips',
|
||||
+ \ 'coc-yaml',
|
||||
+ \ 'coc-pairs',
|
||||
+ \ 'coc-java',
|
||||
+ \ 'coc-vimtex'
|
||||
+ \]
|
||||
+
|
||||
+" \ 'coc-highlight',
|
||||
+" \ 'coc-dictionary',
|
||||
+" \ 'coc-syntax',
|
||||
+
|
||||
+" outliner
|
||||
+let g:vista_default_executive = 'coc'
|
||||
+let g:vista#renderer#enable_icon = 0
|
||||
+" nnoremap <leader>o :Vista!!<CR>
|
||||
+
|
||||
+" Coc Pairs
|
||||
+inoremap <silent><expr> <cr> pumvisible() ? coc#_select_confirm() : "\<C-g>u\<CR>\<c-r>=coc#on_enter()\<CR>"
|
||||
+autocmd FileType tex let b:coc_pairs = [["$", "$"]]
|
||||
+autocmd FileType markdown let b:coc_pairs_disabled = ['`']
|
||||
+
|
||||
+" vim:set et sw=2:
|
||||
diff --git a/neovim/.config/nvim/rc.d/20-deoplete.vim b/neovim/.config/nvim/rc.d/20-deoplete.vim
|
||||
deleted file mode 100644
|
||||
index 7138bab..0000000
|
||||
--- a/neovim/.config/nvim/rc.d/20-deoplete.vim
|
||||
+++ /dev/null
|
||||
@@ -1,63 +0,0 @@
|
||||
-" ===================================================================
|
||||
-" Deoplete
|
||||
-" ===================================================================
|
||||
-
|
||||
-" Autocomplete
|
||||
-let g:deoplete#sources = {}
|
||||
-let g:deoplete#sources.php = ['omni', 'phpactor', 'ultisnips', 'buffer']
|
||||
-let g:deoplete#enable_at_startup = 1
|
||||
-let g:deoplete#sources#jedi#statement_length = 50
|
||||
-let g:deoplete#sources#jedi#enable_cache = 1
|
||||
-let g:deoplete#sources#jedi#show_docstring = 0
|
||||
-
|
||||
-" disable autocomplete
|
||||
-let g:deoplete#disable_auto_complete = 1
|
||||
-if has("gui_running")
|
||||
- inoremap <silent><expr><C-Space> deoplete#mappings#manual_complete()
|
||||
-else
|
||||
- inoremap <silent><expr><C-@> deoplete#mappings#manual_complete()
|
||||
-endif
|
||||
-
|
||||
-" deoplete + neosnippet + autopairs changes
|
||||
-let g:AutoPairsMapCR=0
|
||||
-let g:deoplete#auto_complete_start_length = 1
|
||||
-let g:deoplete#enable_at_startup = 1
|
||||
-let g:deoplete#enable_smart_case = 1
|
||||
-
|
||||
-"" Deoplete per-autocompleter settings
|
||||
-""" Clang
|
||||
-let g:deoplete#sources#clang#libclang_path = '/lib/libclang.so' " '/usr/lib/i386-linux-gnu/libclang-4.0.so.1'
|
||||
-let g:deoplete#sources#clang#clang_header = '/lib/clang/4.0.0/include' " '/usr/lib/llvm-4.0/lib/clang/4.0.0/include'
|
||||
-
|
||||
-""" TernJS
|
||||
-let g:tern_request_timeout = 1
|
||||
-" let g:tern_show_signature_in_pum = '0'
|
||||
-let g:deoplete#sources#ternjs#depths = 1
|
||||
-let g:deoplete#sources#ternjs#types = 1
|
||||
-let g:deoplete#sources#ternjs#docs = 1
|
||||
-let g:tern#command = ["tern"]
|
||||
-let g:tern#arguments = ["--persistent"]
|
||||
-
|
||||
-""" Java
|
||||
-autocmd FileType java setlocal omnifunc=javacomplete#Complete
|
||||
-
|
||||
-""" Omnifunctions
|
||||
-let g:deoplete#omni#functions = {}
|
||||
-
|
||||
-let g:EclimCompletionMethod = 'omnifunc'
|
||||
-let g:deoplete#omni#functions.java = 'eclim#java#complete#CodeComplete'
|
||||
-
|
||||
-let g:deoplete#omni#functions.javascript = [
|
||||
- \ 'tern#Complete',
|
||||
- \ 'autocomplete_flow#Complete',
|
||||
- \ 'javascriptcomplete#CompleteJS'
|
||||
- \]
|
||||
-let g:deoplete#omni#functions.css = 'csscomplete#CompleteCSS'
|
||||
-let g:deoplete#omni#functions.html = [
|
||||
- \ 'htmlcomplete#CompleteTags',
|
||||
- \ 'xmlcomplete#CompleteTags'
|
||||
- \]
|
||||
-let g:deoplete#omni#functions.xml = 'xmlcomplete#CompleteTags'
|
||||
-let g:deoplete#omni#functions.perl = 'perlomni#PerlComplete'
|
||||
-
|
||||
-" vim:set et sw=2:
|
25
neovim/.config/nvim/experiments/vimrc
Normal file
25
neovim/.config/nvim/experiments/vimrc
Normal file
@ -0,0 +1,25 @@
|
||||
se vi+=n~/.cache/vim/viminfo
|
||||
|
||||
sy on
|
||||
se sw=4 ts=8 sts=-1 et nu sc hls title bg=dark swb=useopen
|
||||
filet plugin indent on
|
||||
|
||||
comp gcc
|
||||
au FileType make setl noet sw=8 sts=0
|
||||
au FileType yaml setl indk=
|
||||
packadd! matchit
|
||||
|
||||
au Filetype c nn <buffer> <F9> :!gcc "%" -o "%<" -std=c11 -O2 -g
|
||||
\ -fsanitize=undefined -Wall -Wextra -Wshadow
|
||||
\ -DJOHNCHEN902=1 <CR>
|
||||
au Filetype cpp nn <buffer> <F9> :!g++ "%" -o "%<" -std=c++17 -O2 -g
|
||||
\ -fsanitize=undefined -Wall -Wextra -Wshadow
|
||||
\ -DJOHNCHEN902=1 <CR>
|
||||
au Filetype haskell nn <buffer> <F9> :!ghc "%" -o "%<" -O -g
|
||||
\ -dynamic -no-keep-hi-files -no-keep-o-files
|
||||
\ -Wall <CR>
|
||||
au Filetype rust nn <buffer> <F9> :!rustc "%" -o "%<" -O -g
|
||||
\ -C prefer-dynamic <CR>
|
||||
|
||||
au Filetype c,cpp,haskell,rust nn <F5> :!"%:p:r" <CR>
|
||||
au Filetype c,cpp,haskell,rust nn <F6> :!"%:p:r" < input.txt<CR>
|
44
neovim/.config/nvim/init.vim
Normal file
44
neovim/.config/nvim/init.vim
Normal file
@ -0,0 +1,44 @@
|
||||
" As recommended by `:help provider`, define a venv just for neovim that has
|
||||
" the neovim module and some Python linters
|
||||
let g:python3_host_prog = expand('~/.config/nvim/env/bin/python')
|
||||
|
||||
" Enable nocompatible
|
||||
if has('vim_starting')
|
||||
" set default encoding to utf-8
|
||||
" Let Vim use utf-8 internally, because many scripts require this
|
||||
exe 'set encoding=utf-8'
|
||||
scriptencoding utf-8
|
||||
if &compatible
|
||||
set nocompatible
|
||||
endif
|
||||
" python host
|
||||
if !empty($PYTHON_HOST_PROG)
|
||||
let g:python_host_prog = $PYTHON_HOST_PROG
|
||||
endif
|
||||
if !empty($PYTHON3_HOST_PROG)
|
||||
let g:python3_host_prog = $PYTHON3_HOST_PROG
|
||||
endif
|
||||
endif
|
||||
|
||||
" ==================================================
|
||||
" Allow pre-definitions via ~/.config/nvim/before.vim
|
||||
" ==================================================
|
||||
if filereadable(expand("~/.config/nvim/before.vim"))
|
||||
source ~/.config/nvim/before.vim
|
||||
endif
|
||||
|
||||
" ==================================================
|
||||
" Source the files ~/.config/nvim/rc.d/
|
||||
" ==================================================
|
||||
for f in split(glob('~/.config/nvim/rc.d/*.vim'), '\n')
|
||||
exe 'source' f
|
||||
endfor
|
||||
|
||||
" ==================================================
|
||||
" Allow overrides via ~/.config/nvim/after.vim
|
||||
" ==================================================
|
||||
if filereadable(expand("~/.config/nvim/after.vim"))
|
||||
source ~/.config/nvim/after.vim
|
||||
endif
|
||||
|
||||
" vim:set et sw=2:
|
197
neovim/.config/nvim/installer/README.md
Normal file
197
neovim/.config/nvim/installer/README.md
Normal file
@ -0,0 +1,197 @@
|
||||
My Neovim setup
|
||||
===============
|
||||
|
||||
My Neovim IDE setup for Python, Go, Rust, HTML, CSS, Javascript, Typescript,
|
||||
gettext and more.
|
||||
|
||||
Features
|
||||
---------
|
||||
|
||||
* `init.vim` handling
|
||||
* Incremental and smart case search.
|
||||
* Sublime Text style multiple selections
|
||||
* Trailing whitespace highlighting and cleaning shortcut
|
||||
* Logical and Visual layout (for Right-To-Left lanaguegs) editing.
|
||||
* Tabs expand to 4 spaces by default
|
||||
* Remap `<Leader>` to `<SPACE>` and `jj` to `<ESC>`
|
||||
* Highlight current row and color column 80
|
||||
* 70+ language packs support
|
||||
* Syntax checking
|
||||
* Snippets
|
||||
* Quotes, parens etc pair, surround
|
||||
* Extended pair matching with %
|
||||
* ASCII drawing
|
||||
* Fuzzy file, buffer, mru, tag, etc finder
|
||||
* VCS plugins (Fugitive, Lawrencium)
|
||||
* Tab completion
|
||||
* Commenting
|
||||
|
||||
Prerequisites
|
||||
-------------
|
||||
|
||||
- Neovim and Neovim Python client.
|
||||
- For faster search, [ripgrep](https://github.com/BurntSushi/ripgrep)
|
||||
- For tags: [ctags](http://ctags.sourceforge.net)
|
||||
- For devicons, a patched font, like the one from
|
||||
[nerd-fonts](https://github.com/ryanoasis/nerd-fonts)
|
||||
|
||||
Usage
|
||||
------------
|
||||
|
||||
The following commands will clone the repo, and install `vim-plug` plugin
|
||||
manager:
|
||||
|
||||
mkdir -p ~/.config/nvim
|
||||
git clone https://github.com/MeirKriheli/dotneovim.git ~/.config/nvim
|
||||
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
|
||||
|
||||
Install plugins from the command line:
|
||||
|
||||
nvim +PlugUpdate +qa
|
||||
|
||||
|
||||
After that, [install the desired COC plugins or extensions](https://github.com/neoclide/coc.nvim).
|
||||
|
||||
Overrides
|
||||
----------------
|
||||
|
||||
* `~/.config/nvim/before.vim`, if exists, is sourced before everything allowing
|
||||
definitions of variables to act upon.
|
||||
* `~/.config/nvim/after.vim` if exists, is sourced after all the files in
|
||||
`~/.config/nvim/rc.d` allowing override of default settings (e.g: color
|
||||
schemes, plugin configuration, etc.).
|
||||
|
||||
|
||||
Go tags
|
||||
----------
|
||||
|
||||
For CtrlPBufTag search in go files, make sure you have an updated version
|
||||
of ``ctags`` (>=5.8) and put in your ``~/.ctags``::
|
||||
|
||||
--langdef=Go
|
||||
--langmap=Go:.go
|
||||
--regex-Go=/func([ \t]+\([^)]+\))?[ \t]+([a-zA-Z0-9_]+)/\2/f,func/
|
||||
--regex-Go=/var[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/v,var/
|
||||
--regex-Go=/type[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/t,type/
|
||||
|
||||
|
||||
Rust tags
|
||||
-------------------------
|
||||
|
||||
For Rust ctags to wok (e.g: TagBar), put in your ``~/.ctags``::
|
||||
|
||||
--langdef=Rust
|
||||
--langmap=Rust:.rs
|
||||
--regex-Rust=/^[ \t]*(#\[[^\]]\][ \t]*)*(pub[ \t]+)?(extern[ \t]+)?("[^"]+"[ \t]+)?(unsafe[ \t]+)?fn[ \t]+([a-zA-Z0-9_]+)/\6/f,functions,function definitions/
|
||||
--regex-Rust=/^[ \t]*(pub[ \t]+)?type[ \t]+([a-zA-Z0-9_]+)/\2/T,types,type definitions/
|
||||
--regex-Rust=/^[ \t]*(pub[ \t]+)?enum[ \t]+([a-zA-Z0-9_]+)/\2/g,enum,enumeration names/
|
||||
--regex-Rust=/^[ \t]*(pub[ \t]+)?struct[ \t]+([a-zA-Z0-9_]+)/\2/s,structure names/
|
||||
--regex-Rust=/^[ \t]*(pub[ \t]+)?mod[ \t]+([a-zA-Z0-9_]+)/\2/m,modules,module names/
|
||||
--regex-Rust=/^[ \t]*(pub[ \t]+)?(static|const)[ \t]+(mut[ \t]+)?([a-zA-Z0-9_]+)/\4/c,consts,static constants/
|
||||
--regex-Rust=/^[ \t]*(pub[ \t]+)?(unsafe[ \t]+)?trait[ \t]+([a-zA-Z0-9_]+)/\3/t,traits,traits/
|
||||
--regex-Rust=/^[ \t]*(pub[ \t]+)?(unsafe[ \t]+)?impl([ \t\n]*<[^>]*>)?[ \t]+(([a-zA-Z0-9_:]+)[ \t]*(<[^>]*>)?[ \t]+(for)[ \t]+)?([a-zA-Z0-9_]+)/\5 \7 \8/i,impls,trait implementations/
|
||||
--regex-Rust=/^[ \t]*macro_rules![ \t]+([a-zA-Z0-9_]+)/\1/d,macros,macro definitions/
|
||||
|
||||
|
||||
|
||||
Plugins
|
||||
------------
|
||||
|
||||
* [Solarized](https://github.com/altercation/vim-colors-solarized) - color
|
||||
scheme
|
||||
* [base16-vim](https://github.com/chriskempson/base16-vim) - color scheme
|
||||
* [vim-molokai](https://github.com/tomasr/molokai) - color scheme
|
||||
* [Oceanic-next](https://github.com/mhartington/oceanic-next) - color scheme
|
||||
* [Nord VIM](https://github.com/arcticicestudio/nord-vim) - color scheme
|
||||
* [Gruvbox](https://github.com/morhetz/gruvbox) - color scheme
|
||||
* [Fugitive](https://github.com/tpope/vim-fugitive) - a Git wrapper so awesome,
|
||||
it should be illegal
|
||||
* [gv.vim](https://github.com/junegunn/gv.vim) - A git commit browser in Vim
|
||||
* [Lawrencium](https://github.com/ludovicchabant/vim-lawrencium) - Mercurial
|
||||
wrapper for Vim, inspired by Tim Pope's Fugitive
|
||||
* [ctrlp.vim](https://github.com/ctrlpvim/ctrlp.vim) - Fuzzy file, buffer, mru,
|
||||
tag, etc finder
|
||||
* [ale](https://github.com/w0rp/ale) - Asynchronous Lint Engine
|
||||
* [coc.nvim](https://github.com/neoclide/coc.nvim) - Intellisense engine for
|
||||
vim8 & neovim, full language server protocol support as VSCode
|
||||
* [UltiSnips](https://github.com/sirver/ultisnips) - The ultimate snippet
|
||||
solution for Vim.
|
||||
* [vim-snippets](https://github.com/honza/vim-snippets) - vim-snipmate default
|
||||
snippets
|
||||
* [python-mode](https://github.com/klen/python-mode) - Vim python-mode. PyLint,
|
||||
Rope, Pydoc, breakpoints from box
|
||||
* [vim-go](https://github.com/fatih/vim-go) - Go development plugin for Vim
|
||||
* [rust.vim](https://github.com/rust-lang/rust.vim) - provides Rust file
|
||||
detection, syntax highlighting, formatting, Syntastic integration, and more.
|
||||
* [DrawIt](https://github.com/vim-scripts/DrawIt) - ASCII drawing plugin:
|
||||
lines, ellipses, arrows, fills, and more!
|
||||
* [vim-surround](https://github.com/tpope/vim-surround) -
|
||||
quoting/parenthesizing made simple
|
||||
* [Shebang](https://github.com/vim-scripts/Shebang) - Make executable by
|
||||
setting the correct shebang and executable bit
|
||||
* [Tagbar](http://majutsushi.github.com/tagbar/) - Displays tags in a window,
|
||||
ordered by class etc.
|
||||
* [NERD tree](https://github.com/scrooloose/nerdtree) - A tree explorer
|
||||
* [nerdtree-git-plugin](https://github.com/Xuyuanp/nerdtree-git-plugin) - A
|
||||
plugin of NERDTree showing git status
|
||||
* [auto-pairs](https://github.com/jiangmiao/auto-pairs) - Insert or delete
|
||||
brackets, parens, quotes in pair
|
||||
* [po.vim](http://vim.sourceforge.net/scripts/script.php?script_id=695) -
|
||||
Easier editing of GNU gettext PO files
|
||||
* [MatchTagAlways](https://github.com/valloric/MatchTagAlways) - A Vim plugin
|
||||
that always highlights the enclosing html/xml tags
|
||||
* [vim-airline](https://github.com/bling/vim-airline) - Light weight status
|
||||
line utility
|
||||
* [tabular](https://github.com/godlygeek/tabular) - text filtering and
|
||||
alignment
|
||||
* [tcomment_vim](https://github.com/tomtom/tcomment_vim) - An extensible &
|
||||
universal comment vim-plugin that also handles embedded filetypes
|
||||
* [vim-unimpaired](https://github.com/tpope/vim-unimpaired) - pairs of handy
|
||||
bracket mappings
|
||||
* [vim-multiple-cursors](https://github.com/terryma/vim-multiple-cursors) -
|
||||
True Sublime Text style multiple selections for Vim
|
||||
* [splitjoin.vim](https://github.com/AndrewRadev/splitjoin.vim) - A Vim plugin
|
||||
that simplifies the transition between multiline and single-line code
|
||||
* [vim-repeat](https://github.com/tpope/vim-repeat) - enable repeating supported plugin maps with "."
|
||||
* [tsuquyomi](https://github.com/Quramy/tsuquyomi) - A Vim plugin for TypeScript
|
||||
* [vim-highlightedyank](https://github.com/machakann/vim-highlightedyank) - Make the yanked region apparent!
|
||||
|
||||
|
||||
Shortcuts and re-Mappings
|
||||
----------------------------
|
||||
|
||||
| Key | Command |
|
||||
| ---------------------- | ----------------------------------------------------------------- |
|
||||
| ``jj`` | ``<Esc>`` in insert and command modes |
|
||||
| ``<SPACE>`` | ``<Leader>`` |
|
||||
| ``<Leader>v`` | Load `.vimrc` |
|
||||
| ``<Leader>V`` | Activate changes to `.vimrc` (Make sure to save it before) |
|
||||
| ``<F2>`` | Close current split (window) |
|
||||
| ``<F3>`` | Toggle NERD tree |
|
||||
| ``<F5>`` | Toggle Tagbar |
|
||||
| ``<Leader>S`` | Remove trailing whitespace |
|
||||
| ``<CTRL>hjkl`` | Window movement commands |
|
||||
| ``<CTRL>arrow`` | Window movement commands |
|
||||
| ``<Leader>d`` | Delete buffer, keep the split |
|
||||
| ``-``, ``+`` | Resize horizontal splits |
|
||||
| ``<ALT><`` ``<ALT>>`` | Resize vertical splits |
|
||||
| ``<F9>`` | Toggle logical (RTL, e.g: Hebrew) editing |
|
||||
| ``<F8>`` | Toggle visual (RTL, e.g: Hebrew) editing |
|
||||
| ``g/`` | :grep!<Space> |
|
||||
| ``g*`` | :grep! -w current_word |
|
||||
| ``ga`` | :grepadd! (add results to the current search) |
|
||||
| ``gr`` | :CtrlPBufTag (fuzzy tag search in current file) |
|
||||
|
||||
|
||||
Virtualenv settings
|
||||
-------------------
|
||||
|
||||
If you're running from virtualenv activated, make sure to point nvim and ale to
|
||||
correct locations. By default, settings are:
|
||||
|
||||
let g:python3_host_prog = '/usr/bin/python'
|
||||
let g:ale_python_flake8_executable = '/usr/bin/flake8'
|
||||
|
||||
If needed, override those settings to the locations on your machine.
|
50
neovim/.config/nvim/installer/install.sh
Executable file
50
neovim/.config/nvim/installer/install.sh
Executable file
@ -0,0 +1,50 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Install nvim
|
||||
sudo apt remove vim-tiny vim
|
||||
sudo apt install neovim fzf silversearcher-ag tmux zathura latexmk
|
||||
|
||||
# Make config directory for Neovim's init.vim
|
||||
echo '[*] Preparing Neovim config directory ...'
|
||||
mkdir -p ~/.config/nvim
|
||||
|
||||
# Make nvim_runtime directory
|
||||
mkdir -p ~/.nvim_runtime
|
||||
mkdir -p ~/.nvim_runtime/temp_dirs
|
||||
mkdir -p ~/.nvim_runtime/temp_dirs/swap
|
||||
mkdir -p ~/.nvim_runtime/temp_dirs/backup
|
||||
mkdir -p ~/.nvim_runtime/temp_dirs/undodir
|
||||
mkdir -p ~/.nvim_runtime/temp_dirs/tags
|
||||
mkdir -p ~/.nvim_runtime/sessions
|
||||
|
||||
# Install nvim (and its dependencies: pip3, git), Python 3 and ctags (for tagbar)
|
||||
echo '[*] App installing Neovim and its dependencies (Python 3 and git), and dependencies for tagbar (exuberant-ctags) ...'
|
||||
sudo apt update
|
||||
sudo apt install -y curl neovim python3 python3-pip git exuberant-ctags global #npm
|
||||
|
||||
# Install virtualenv to containerize dependencies
|
||||
echo '[*] Pip installing virtualenv to containerize Neovim dependencies (instead of installing them onto your system) ...'
|
||||
python3 -m pip install virtualenv
|
||||
python3 -m virtualenv -p python3 ~/.config/nvim/env
|
||||
|
||||
# Install pip modules for Neovim within the virtual environment created
|
||||
echo '[*] Activating virtualenv and pip installing Neovim (for Python plugin support), libraries for async autocompletion support (jedi, psutil, setproctitle), and library for pep8-style formatting (yapf) ...'
|
||||
. "${HOME}/.config/nvim/env/bin/activate"
|
||||
pip3 install neovim pynvim jedi psutil setproctitle yapf
|
||||
deactivate
|
||||
|
||||
# Install vim-plug plugin manager
|
||||
echo '[*] Downloading vim-plug, the best minimalistic vim plugin manager ...'
|
||||
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
|
||||
# (Optional but recommended) Install a nerd font for icons and a beautiful lightline bar (https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts)
|
||||
echo "[*] Downloading patch font into ~/.local/share/fonts ..."
|
||||
curl -fLo ~/.local/share/fonts/Iosevka\ Term\ Nerd\ Font\ Complete.ttf --create-dirs https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/Iosevka/Regular/complete/Iosevka%20Term%20Nerd%20Font%20Complete.ttf
|
||||
|
||||
# Enter Neovim and install plugins using a temporary init.vim, which avoids warnings about missing colorschemes, functions, etc
|
||||
echo '[*] Running :PlugInstall within nvim ...'
|
||||
nvim +PlugInstall +qa
|
||||
|
||||
echo "[+] Done, welcome to \\033[1m\\033[92mNeoVim\\033[0m! Try it by running: nvim."
|
24
neovim/.config/nvim/installer/reference/commands_git.txt
Normal file
24
neovim/.config/nvim/installer/reference/commands_git.txt
Normal file
@ -0,0 +1,24 @@
|
||||
# Setup by linking .vimrc and initializing submodules
|
||||
./install.sh
|
||||
./patch_fonts.sh # To be performed once only
|
||||
|
||||
# Installing a plugin as a submodule
|
||||
git submodule add http://github.com/[user]/[plugin] bundle/[plugin-name]
|
||||
git add .
|
||||
git commit -m "Installed [plugin] bundle as a submodule."
|
||||
|
||||
# Updating bundled submodule plugins
|
||||
git submodule foreach git pull origin master
|
||||
# or update each plugin manually
|
||||
cd bundles/[plugin]
|
||||
git pull
|
||||
|
||||
# Removing a plugin
|
||||
git submodule deinit -f bundle/[plugin-name]
|
||||
git rm -rf bundle/[plugin-name]
|
||||
git add .
|
||||
git commit -m "Removed [plugin] bundle"
|
||||
|
||||
# Pathogen with Submodules Guides
|
||||
https://gist.github.com/romainl/9970697
|
||||
http://vimcasts.org/episodes/synchronizing-plugins-with-git-submodules-and-pathogen/
|
42
neovim/.config/nvim/installer/reference/commands_vim.txt
Normal file
42
neovim/.config/nvim/installer/reference/commands_vim.txt
Normal file
@ -0,0 +1,42 @@
|
||||
i - Insert Mode
|
||||
Shift + a - Insert Mode - Append
|
||||
o - Insert Mode - New Line After
|
||||
Shift + Up/Down - Scrolling
|
||||
:wq - Write and Quit
|
||||
:e [file] - Edit Another File
|
||||
gg - Goto First Line
|
||||
G - Goto Last Line
|
||||
|
||||
u - Undo
|
||||
Ctrl + r - Redo
|
||||
. - Repeat Previous Command
|
||||
|
||||
/[word] - Search
|
||||
n - Search - Next
|
||||
Shift + n - Search - Previous
|
||||
/[word], [edit], n, . - Search, modify, next search, repeat for next
|
||||
:%s/old/new/g - Replace All
|
||||
:[startline],[endline]s/old/new/g - Replace Between Lines
|
||||
:%s/^/[word]/g - Append Word to Start of Every Line
|
||||
:%s/$/[word]/g - Append Word to End of Every Line
|
||||
|
||||
Ctrl + w and v - Splitting Window Vertically
|
||||
Ctrl + w and Shift + s - Splitting Window Horizontally
|
||||
|
||||
v - Visual Select
|
||||
Shift + v - Visual Select - Line
|
||||
Ctrl + v - Visual Select - Block
|
||||
Shift + v and [number]> - Tab a Line Multiple Times
|
||||
|
||||
d - Delete/Cut
|
||||
dd - Delete Current Line
|
||||
d[number]d - Delete Multiple Lines
|
||||
y - Yank/Copy
|
||||
p - Paste
|
||||
|
||||
gg=G - Fix All Indentations
|
||||
|
||||
vi" - Select everything within double quotes
|
||||
va" - Select everything within and including double quotes
|
||||
vi"d - Delete everything within double quotes
|
||||
vi"s - Delete everything within double quotes then go into insert mode
|
3
neovim/.config/nvim/make_basic.sh
Executable file
3
neovim/.config/nvim/make_basic.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/zsh
|
||||
cat basic_header.vim rc.d/{01-settings,02-theme,10-keymap-general,11-keymap-rtl,31-file-type}.vim > basic.vim
|
||||
sed -i 's/colorscheme minimalist/colorscheme desert/g' basic.vim
|
236
neovim/.config/nvim/rc.d/00-plugins.vim
Normal file
236
neovim/.config/nvim/rc.d/00-plugins.vim
Normal file
@ -0,0 +1,236 @@
|
||||
" ==================================================
|
||||
" vim-plug setup
|
||||
" ==================================================
|
||||
"
|
||||
call plug#begin('~/.local/share/nvim/plugged')
|
||||
|
||||
" Color schemes and appearance
|
||||
|
||||
Plug 'frankier/neovim-colors-solarized-truecolor-only'
|
||||
Plug 'chriskempson/base16-vim'
|
||||
Plug 'drewtempelmeyer/palenight.vim'
|
||||
"Plug 'kaicataldo/material.vim'
|
||||
Plug 'dikiaap/minimalist'
|
||||
|
||||
" Appearance
|
||||
Plug 'ryanoasis/vim-devicons'
|
||||
Plug 'itchyny/lightline.vim'
|
||||
Plug 'junegunn/limelight.vim'
|
||||
Plug 'junegunn/goyo.vim'
|
||||
Plug 'nathanaelkane/vim-indent-guides'
|
||||
Plug 'junegunn/vim-journal'
|
||||
Plug 'luochen1990/rainbow'
|
||||
Plug 'bling/vim-bufferline'
|
||||
|
||||
" easy way to rezise and exchange windows
|
||||
Plug 'simeji/winresizer'
|
||||
|
||||
|
||||
" General utilities
|
||||
|
||||
Plug 'ctrlpvim/ctrlp.vim'
|
||||
Plug 'farmergreg/vim-lastplace'
|
||||
Plug 'tpope/vim-sensible'
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'scrooloose/nerdtree', { 'on': ['NERDTreeToggle', 'NERDTreeFind']}
|
||||
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
|
||||
Plug 'jistr/vim-nerdtree-tabs'
|
||||
Plug 'ervandew/supertab'
|
||||
Plug 'vim-scripts/DrawIt'
|
||||
Plug 'terryma/vim-multiple-cursors'
|
||||
Plug 'machakann/vim-highlightedyank'
|
||||
Plug 'tpope/vim-repeat'
|
||||
Plug 'junegunn/vim-easy-align'
|
||||
Plug 'tpope/vim-abolish'
|
||||
Plug 'Yggdroot/indentLine'
|
||||
Plug 'chrisbra/Colorizer'
|
||||
Plug 'heavenshell/vim-pydocstring'
|
||||
Plug 'vim-scripts/loremipsum'
|
||||
Plug 'metakirby5/codi.vim'
|
||||
Plug 'dkarter/bullets.vim'
|
||||
Plug 'wesQ3/vim-windowswap'
|
||||
Plug 'benmills/vimux'
|
||||
Plug 'schickling/vim-bufonly'
|
||||
Plug 'shougo/echodoc.vim'
|
||||
Plug 'tpope/vim-sleuth'
|
||||
"Plug 'tpope/vim-unimpaired'
|
||||
Plug 'shougo/denite.nvim'
|
||||
Plug 'wincent/loupe'
|
||||
Plug 'jez/vim-superman' " Open man with vim using vman (need to be configured in zsh boot)
|
||||
Plug 'blueyed/vim-diminactive' " Plug to dim not-focused windows
|
||||
Plug 'lambdalisue/suda.vim' " Write file with sudo
|
||||
Plug 'junegunn/vim-peekaboo' " Display register values on " and @
|
||||
Plug 'yangmillstheory/vim-snipe' " replace f F t T to target easily the motion
|
||||
|
||||
" undo tree
|
||||
Plug 'simnalamburt/vim-mundo'
|
||||
" registers
|
||||
Plug 'bfredl/nvim-miniyank'
|
||||
" close the current buffer
|
||||
Plug 'moll/vim-bbye'
|
||||
|
||||
|
||||
" Version control support
|
||||
"
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'mhinz/vim-signify'
|
||||
Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||
Plug 'ludovicchabant/vim-lawrencium'
|
||||
Plug 'junegunn/gv.vim'
|
||||
|
||||
" Programming support
|
||||
Plug 'tpope/vim-commentary'
|
||||
Plug 'majutsushi/tagbar'
|
||||
Plug 'liuchengxu/vista.vim'
|
||||
Plug 'editorconfig/editorconfig-vim'
|
||||
Plug 'vim-scripts/Shebang'
|
||||
Plug 'sirver/ultisnips'
|
||||
Plug 'honza/vim-snippets'
|
||||
Plug 'Valloric/MatchTagAlways'
|
||||
Plug 'amiorin/vim-project'
|
||||
Plug 'mhinz/vim-startify'
|
||||
Plug 'AndrewRadev/splitjoin.vim' " Split arrays in PHP / struct in Go / other things
|
||||
|
||||
" Jump to definition
|
||||
Plug 'ludovicchabant/vim-gutentags'
|
||||
Plug 'skywind3000/gutentags_plus'
|
||||
Plug 'skywind3000/vim-preview'
|
||||
|
||||
|
||||
" fzf - poweful fuzzy finder
|
||||
" Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
||||
" Plug 'junegunn/fzf.vim'
|
||||
source /usr/share/doc/fzf/examples/fzf.vim
|
||||
|
||||
" allow multisearch in current directory / multi replace as well
|
||||
Plug 'wincent/ferret'
|
||||
|
||||
" Generic Programming Support
|
||||
Plug 'tobyS/vmustache'
|
||||
Plug 'janko-m/vim-test'
|
||||
Plug 'maksimr/vim-jsbeautify'
|
||||
Plug 'HiPhish/repl.nvim'
|
||||
Plug 'ap/vim-css-color'
|
||||
Plug 'hail2u/vim-css3-syntax'
|
||||
Plug 'cakebaker/scss-syntax.vim'
|
||||
Plug 'vim-scripts/Fold-license'
|
||||
Plug 'neomake/neomake'
|
||||
Plug 'joonty/vdebug'
|
||||
Plug 'ap/vim-css-color' " display the hexadecimal colors - useful for css and color config
|
||||
|
||||
" Polyglot
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
Plug 'cespare/vim-toml'
|
||||
Plug 'chr4/nginx.vim'
|
||||
Plug 'chr4/nginx.vim'
|
||||
Plug 'chrisbra/csv.vim'
|
||||
Plug 'derekwyatt/vim-scala'
|
||||
Plug 'ekalinin/Dockerfile.vim'
|
||||
Plug 'elixir-lang/vim-elixir'
|
||||
Plug 'elzr/vim-json'
|
||||
Plug 'ericpruitt/tmux.vim'
|
||||
Plug 'fatih/vim-go', {'for': 'go'}
|
||||
Plug 'HerringtonDarkholme/yats.vim'
|
||||
Plug 'jparise/vim-graphql'
|
||||
Plug 'JuliaEditorSupport/julia-vim'
|
||||
Plug 'lambdatoast/elm.vim'
|
||||
Plug 'lifepillar/pgsql.vim'
|
||||
Plug 'lumiliet/vim-twig', {'for': 'twig'}
|
||||
Plug 'maelvalais/gmpl.vim'
|
||||
Plug 'mboughaba/i3config.vim'
|
||||
Plug 'McSinyx/vim-octave'
|
||||
Plug 'neovimhaskell/haskell-vim'
|
||||
Plug 'ocaml/vim-ocaml'
|
||||
Plug 'ocaml/vim-ocaml'
|
||||
Plug 'othree/html5.vim'
|
||||
Plug 'pangloss/vim-javascript'
|
||||
Plug 'posva/vim-vue'
|
||||
Plug 'rust-lang/rust.vim'
|
||||
Plug 'StanAngeloff/php.vim'
|
||||
Plug 'stephpy/vim-yaml'
|
||||
Plug 'sudar/vim-arduino-syntax'
|
||||
Plug 'tbastos/vim-lua'
|
||||
Plug 'tpope/vim-markdown'
|
||||
Plug 'udalov/kotlin-vim'
|
||||
Plug 'vim-perl/vim-perl', { 'for': 'perl', 'do': 'make clean carp dancer highlight-all-pragmas moose test-more try-tiny' }
|
||||
Plug 'vim-ruby/vim-ruby'
|
||||
Plug 'vim-scripts/gnuplot-syntax-highlighting'
|
||||
Plug 'vim-scripts/R.vim'
|
||||
Plug 'vim-scripts/svg.vim'
|
||||
Plug 'voldikss/vim-mma'
|
||||
Plug 'wgwoods/vim-systemd-syntax'
|
||||
Plug 'wlangstroth/vim-racket'
|
||||
|
||||
" emmet for html
|
||||
Plug 'mattn/emmet-vim'
|
||||
|
||||
" Markdown / Writting
|
||||
Plug 'reedes/vim-pencil'
|
||||
Plug 'jtratner/vim-flavored-markdown'
|
||||
|
||||
" LaTeX
|
||||
Plug 'lervag/vimtex'
|
||||
|
||||
" Programming languages
|
||||
Plug 'bfrg/vim-cpp-modern'
|
||||
Plug 'klen/python-mode'
|
||||
Plug 'davidhalter/jedi-vim'
|
||||
Plug 'racer-rust/vim-racer'
|
||||
Plug 'Quramy/tsuquyomi'
|
||||
Plug 'groenewege/vim-less'
|
||||
Plug 'vim-scripts/po.vim--Jelenak'
|
||||
|
||||
" PHP Support
|
||||
Plug 'phpactor/phpactor' , {'do': 'composer install', 'for': 'php'}
|
||||
Plug 'vim-php/tagbar-phpctags.vim'
|
||||
Plug 'tobyS/pdv'
|
||||
Plug 'stephpy/vim-php-cs-fixer'
|
||||
Plug 'adoy/vim-php-refactoring-toolbox'
|
||||
Plug 'Rican7/php-doc-modded'
|
||||
|
||||
" Erlang Support
|
||||
Plug 'vim-erlang/vim-erlang-tags'
|
||||
Plug 'vim-erlang/vim-erlang-runtime'
|
||||
Plug 'vim-erlang/vim-erlang-omnicomplete'
|
||||
Plug 'vim-erlang/vim-erlang-compiler'
|
||||
|
||||
" Elixir Support
|
||||
Plug 'avdgaag/vim-phoenix'
|
||||
Plug 'mmorearty/elixir-ctags'
|
||||
Plug 'mattreduce/vim-mix'
|
||||
Plug 'BjRo/vim-extest'
|
||||
Plug 'frost/vim-eh-docs'
|
||||
Plug 'slashmili/alchemist.vim'
|
||||
"Plug 'tpope/vim-endwise'
|
||||
Plug 'jadercorrea/elixir_generator.vim'
|
||||
Plug 'mhinz/vim-mix-format'
|
||||
|
||||
" golang development
|
||||
Plug 'godoctor/godoctor.vim', {'for': 'go'} " refactoring
|
||||
Plug 'sebdah/vim-delve', {'for': 'go'} " debugger
|
||||
|
||||
" javascript plugins
|
||||
Plug 'carlitux/deoplete-ternjs', { 'do': 'npm install -g tern' }
|
||||
Plug 'leafgarland/typescript-vim'
|
||||
|
||||
" For react
|
||||
Plug 'mxw/vim-jsx'
|
||||
|
||||
" Smart Autocomplete
|
||||
Plug 'w0rp/ale'
|
||||
Plug 'kristijanhusak/deoplete-phpactor'
|
||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
Plug 'zchee/deoplete-clang'
|
||||
Plug 'wokalski/autocomplete-flow'
|
||||
Plug 'sebastianmarkow/deoplete-rust'
|
||||
Plug 'shougo/neoinclude.vim'
|
||||
Plug 'zchee/deoplete-jedi'
|
||||
Plug 'shougo/neco-vim'
|
||||
Plug 'othree/csscomplete.vim'
|
||||
Plug 'othree/xml.vim'
|
||||
Plug 'c9s/perlomni.vim'
|
||||
Plug 'artur-shaik/vim-javacomplete2'
|
||||
|
||||
call plug#end()
|
||||
|
||||
" vim:set et sw=2:
|
222
neovim/.config/nvim/rc.d/01-settings.vim
Normal file
222
neovim/.config/nvim/rc.d/01-settings.vim
Normal file
@ -0,0 +1,222 @@
|
||||
" ==================================================
|
||||
" Basic Settings
|
||||
" ==================================================
|
||||
let mapleader="\<Space>" " Change the leader to be a space
|
||||
set cmdheight=2 " Make command line two lines high
|
||||
set scrolloff=7 " Set 7 lines to the cursor - when moving vertically using j/k
|
||||
set sidescrolloff=5 " Have some context around the current line always on screen
|
||||
set cursorline " Have a line indicate the cursor location (slow)
|
||||
set autoindent " Always set autoindenting on
|
||||
set smartindent " Set smart indent
|
||||
set showcmd " Display incomplete commands
|
||||
set ruler " Show the cursor position all the time
|
||||
set rulerformat=%30(%=\:b%n%y%m%r%w\ %l,%c%V\ %P%)
|
||||
set number norelativenumber " Show line numbers
|
||||
set ttyfast " Smoother changes
|
||||
set modeline " Last lines in document sets vim mode
|
||||
set shortmess=atIc " Abbreviate messages
|
||||
set nostartofline " Don't jump to first character when paging
|
||||
set backspace=indent,eol,start
|
||||
set matchpairs+=<:> " Show matching <> (html mainly) as well
|
||||
set showmatch " Show matching brackets when text indicator is over them
|
||||
set matchtime=3 " How many tenths of a second to blink when matching brackets
|
||||
set showmatch " Show matching braces, somewhat annoying...
|
||||
set history=1000 " Sets how many lines of history VIM has to remember
|
||||
set showmode " Show the default mode text (e.g. -- INSERT -- below the statusline)
|
||||
set timeout ttimeoutlen=50
|
||||
set updatetime=300 " Smaller updatetime for CursorHold & CursorHoldI
|
||||
set signcolumn=yes
|
||||
|
||||
set whichwrap+=<,>,h,l,[,]
|
||||
set fileformats=unix,dos,mac
|
||||
set encoding=utf-8
|
||||
set completeopt=longest,menuone " Preview mode causes flickering
|
||||
set clipboard+=unnamedplus " Share the system clipboard
|
||||
|
||||
set splitright " Splits to the right
|
||||
autocmd VimResized * wincmd = " Automatically equalize splits when Vim is resized
|
||||
|
||||
set wildmenu " show list instead of just completing
|
||||
set wildmode=list:longest,full " command <Tab> completion, list matches, then longest common part, then all.
|
||||
set completeopt=menu " Just show the menu upon completion (faster)
|
||||
|
||||
syntax on
|
||||
set synmaxcol=200 " Syntax highlight only the first 200 chars"
|
||||
filetype plugin on
|
||||
filetype indent plugin on
|
||||
|
||||
set colorcolumn=80
|
||||
"set colorcolumn=125 " Comfortable _and_ Github's line length
|
||||
|
||||
if has('linebreak') " Break indent wrapped lines
|
||||
set breakindent
|
||||
let &showbreak = '↳ '
|
||||
set cpo+=n
|
||||
end
|
||||
|
||||
" Linebreak on 500 characters
|
||||
set lbr
|
||||
set tw=80
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Turn persistent undo on means that you can undo
|
||||
" even when you close a buffer/VIM
|
||||
" ==================================================
|
||||
set directory=~/.nvim_runtime/temp_dirs/swap/
|
||||
set backupdir=~/.nvim_runtime/temp_dirs/backup/
|
||||
try
|
||||
set undodir=~/.nvim_runtime/temp_dirs/undodir
|
||||
set undofile
|
||||
catch
|
||||
endtry
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Status line
|
||||
" ==================================================
|
||||
" Always show the status line
|
||||
set laststatus=2
|
||||
|
||||
" Format the status line
|
||||
set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l\ \ Column:\ %c
|
||||
|
||||
" Returns true if paste mode is enabled
|
||||
function! HasPaste()
|
||||
if &paste
|
||||
return 'PASTE MODE '
|
||||
endif
|
||||
return ''
|
||||
endfunction
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Use terminal title as an output
|
||||
" ==================================================
|
||||
set title
|
||||
set titleold="Terminal"
|
||||
set titlestring=%F
|
||||
|
||||
|
||||
" ==================================================
|
||||
" No annoying sound on errors
|
||||
" ==================================================
|
||||
set noerrorbells
|
||||
set novisualbell
|
||||
set t_vb=
|
||||
set tm=500
|
||||
|
||||
" Properly disable sound on errors on MacVim
|
||||
if has("gui_macvim")
|
||||
autocmd GUIEnter * set vb t_vb=
|
||||
endif
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Tab expanded to 8 spaces
|
||||
" ==================================================
|
||||
set tabstop=8 " numbers of spaces of tab character
|
||||
set shiftwidth=8 " numbers of spaces to (auto)indent
|
||||
set expandtab " Tab to spaces by default
|
||||
set softtabstop=8
|
||||
set smarttab " Be smart when using tabs ;)
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Search settings
|
||||
" ==================================================
|
||||
set hlsearch " highlight searches
|
||||
set incsearch " do incremental searching
|
||||
set ignorecase " ignore case when searching
|
||||
set infercase " smarter completions that will be case aware when ignorecase is on
|
||||
set smartcase " if searching and search contains upper case, make case sensitive search
|
||||
set list listchars=trail:»,tab:»-
|
||||
set fillchars+=vert:\
|
||||
|
||||
|
||||
" ==================================================
|
||||
" No modelines for security
|
||||
" ==================================================
|
||||
set modelines=0
|
||||
set nomodeline
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Trailing whitespace handling
|
||||
" ==================================================
|
||||
|
||||
" Highlight end of line whitespace.
|
||||
highlight WhitespaceEOL ctermbg=red guibg=red
|
||||
match WhitespaceEOL /\s\+$/
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Further settings
|
||||
" ==================================================
|
||||
|
||||
" Try to display very long lines, rather than showing @
|
||||
set display+=lastline
|
||||
|
||||
" show trailing whitespace as -, tabs as >-
|
||||
set listchars=tab:>-,trail:-
|
||||
set list
|
||||
|
||||
" Live substitution
|
||||
set inccommand=split
|
||||
|
||||
if has("nvim")
|
||||
set laststatus=1
|
||||
endif
|
||||
|
||||
" Ignore compiled files
|
||||
set wildignore=*.o,*~,*.pyc
|
||||
if has("win16") || has("win32")
|
||||
set wildignore+=.git\*,.hg\*,.svn\*
|
||||
else
|
||||
set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/.DS_Store
|
||||
endif
|
||||
|
||||
" Don't redraw while executing macros (good performance config)
|
||||
set lazyredraw
|
||||
|
||||
" For regular expressions turn magic on
|
||||
set magic
|
||||
|
||||
" when at 3 spaces, and I hit > ... go to 4, not 7
|
||||
set shiftround
|
||||
|
||||
" number of undo saved in memory
|
||||
set undolevels=10000 " How many undos
|
||||
set undoreload=10000 " number of lines to save for undo
|
||||
|
||||
" set list
|
||||
set list listchars=tab:\┆\ ,trail:·,nbsp:±
|
||||
|
||||
" doesn't prompt a warning when opening a file and the current file was written but not saved
|
||||
set hidden
|
||||
|
||||
" no swap file! This is just annoying
|
||||
set noswapfile
|
||||
|
||||
" Fold related
|
||||
set foldlevelstart=0 " Start with all folds closed
|
||||
|
||||
" Set foldtext
|
||||
set foldtext=general#FoldText()
|
||||
|
||||
" Show the substitution LIVE
|
||||
set inccommand=nosplit
|
||||
|
||||
" for vertical pane in git diff tool
|
||||
set diffopt+=vertical
|
||||
|
||||
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
||||
|
||||
" Set to auto read when a file is changed from the outside
|
||||
set autoread
|
||||
|
||||
" indentLine
|
||||
let g:indentLine_char = '▏'
|
||||
let g:indentLine_color_gui = '#363949'
|
||||
|
||||
" vim:set et sw=2:
|
85
neovim/.config/nvim/rc.d/02-theme.vim
Normal file
85
neovim/.config/nvim/rc.d/02-theme.vim
Normal file
@ -0,0 +1,85 @@
|
||||
" ==================================================
|
||||
" Color scheme and fonts
|
||||
" ==================================================
|
||||
let g:rainbow_active = 1 "set to 0 if you want to enable it later via :RainbowToggle
|
||||
let g:material_theme_style = 'palenight'
|
||||
|
||||
" disable the mouse - who needs a mouse??
|
||||
set mouse-=a
|
||||
set guicursor=
|
||||
|
||||
" Set font according to system
|
||||
if has("mac") || has("macunix")
|
||||
set gfn=IBM\ Plex\ Mono:h14,Hack:h14,Source\ Code\ Pro:h15,Menlo:h15
|
||||
elseif has("win16") || has("win32")
|
||||
set gfn=IBM\ Plex\ Mono:h14,Source\ Code\ Pro:h12,Bitstream\ Vera\ Sans\ Mono:h11
|
||||
elseif has("gui_gtk2")
|
||||
set gfn=IBM\ Plex\ Mono:h14,:Hack\ 14,Source\ Code\ Pro\ 12,Bitstream\ Vera\ Sans\ Mono\ 11
|
||||
elseif has("linux")
|
||||
set gfn=IBM\ Plex\ Mono:h14,:Hack\ 14,Source\ Code\ Pro\ 12,Bitstream\ Vera\ Sans\ Mono\ 11
|
||||
elseif has("unix")
|
||||
set gfn=Monospace\ 11
|
||||
endif
|
||||
|
||||
" Disable scrollbars (real hackers don't use scrollbars for navigation!)
|
||||
set guioptions-=r
|
||||
set guioptions-=R
|
||||
set guioptions-=l
|
||||
set guioptions-=L
|
||||
|
||||
if (has("nvim"))
|
||||
"For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
|
||||
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
||||
endif
|
||||
|
||||
" Enable 256 colors palette in Gnome Terminal
|
||||
if $COLORTERM == 'gnome-terminal'
|
||||
set t_Co=256
|
||||
endif
|
||||
|
||||
set background=dark
|
||||
"colorscheme material
|
||||
set t_Co=256
|
||||
colorscheme minimalist
|
||||
hi Conceal guifg=#81A1C1 guibg=NONE ctermbg=NONE
|
||||
let g:palenight_terminal_italics=1
|
||||
let g:material_terminal_italics = 1
|
||||
|
||||
"For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
|
||||
"Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
|
||||
" < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
|
||||
if (has("termguicolors"))
|
||||
" Opaque Background (Comment out to use terminal's profile)
|
||||
set termguicolors
|
||||
endif
|
||||
|
||||
" Set extra options when running in GUI mode
|
||||
if has("gui_running")
|
||||
set guioptions-=T
|
||||
set guioptions-=e
|
||||
set t_Co=256
|
||||
set guitablabel=%M\ %t
|
||||
endif
|
||||
|
||||
highlight Pmenu guibg=white guifg=black gui=bold
|
||||
highlight Comment gui=bold
|
||||
highlight Normal gui=none
|
||||
highlight NonText guibg=none
|
||||
|
||||
" Transparent Background (For i3 and compton)
|
||||
highlight Normal guibg=NONE ctermbg=NONE
|
||||
highlight LineNr guibg=NONE ctermbg=NONE
|
||||
|
||||
"" This will repair colors in Tmux.
|
||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
|
||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
|
||||
|
||||
"" Tmuxline
|
||||
let g:tmuxline_theme = 'vim_statusline_3'
|
||||
let g:tmuxline_preset = 'tmux'
|
||||
|
||||
"" Bufferline
|
||||
let g:bufferline_echo = 0 " This will keep your messages from getting quickly hidden.
|
||||
|
||||
|
||||
" vim:set et sw=2:
|
326
neovim/.config/nvim/rc.d/10-keymap-general.vim
Normal file
326
neovim/.config/nvim/rc.d/10-keymap-general.vim
Normal file
@ -0,0 +1,326 @@
|
||||
" ==================================================
|
||||
" Basic Mappings
|
||||
" ==================================================
|
||||
|
||||
" Maps for jj to act as Esc in insert and command modes
|
||||
ino jj <esc>
|
||||
cno jj <c-c>
|
||||
|
||||
" One can map ctrl-c to something else if needed
|
||||
map <c-c> <Nop>
|
||||
imap <c-c> <Nop>
|
||||
|
||||
" Smarter j/k navigation
|
||||
" Convert the j and k movement commands from strict linewise movements to
|
||||
" onscreen display line movements via the gj and gk commands. When
|
||||
" preceded with a count we want to go back to strict linewise movements.
|
||||
" will automatically save movements larger than 5 lines to the jumplist.
|
||||
nnoremap <expr> j v:count ? (v:count > 5 ? "m'" . v:count : '') . 'j' : 'gj'
|
||||
nnoremap <expr> k v:count ? (v:count > 5 ? "m'" . v:count : '') . 'k' : 'gk'
|
||||
|
||||
" Center next/previous matched string
|
||||
nnoremap n nzz
|
||||
nnoremap N Nzz
|
||||
|
||||
" Save session
|
||||
exec 'nnoremap <Leader>ss :mksession! ~/.nvim_runtime/sessions/*.vim<C-D><BS><BS><BS><BS><BS>'
|
||||
" Reload session
|
||||
exec 'nnoremap <Leader>sl :so ~/.nvim_runtime/sessions/*.vim<C-D><BS><BS><BS><BS><BS>'
|
||||
|
||||
" quick make
|
||||
map <F6> :make<CR>
|
||||
|
||||
" simple pasting from the system clipboard
|
||||
" http://tilvim.com/2014/03/18/a-better-paste.html
|
||||
map <Leader>p :set paste<CR>o<esc>"+]p:set nopaste<cr>
|
||||
|
||||
" Quickly save, quit, or save-and-quit
|
||||
map <leader>w :w<CR>
|
||||
map <leader>x :x<CR>
|
||||
map <leader>q :q<CR>
|
||||
|
||||
" un-highlight when esc is pressed
|
||||
map <silent><esc> :noh<cr>
|
||||
|
||||
|
||||
" Quickly toggle relative line numbers
|
||||
function ToggleRelativeLineNumbers()
|
||||
set invnumber
|
||||
set invrelativenumber
|
||||
endfunction
|
||||
nnoremap <leader>l :call ToggleRelativeLineNumbers()<cr>
|
||||
" Toggle between absolute -> relative line number
|
||||
"nnoremap <C-n> :let [&nu, &rnu] = [&nu, &nu+&rnu==1]<CR>
|
||||
|
||||
|
||||
" Save files as root
|
||||
cnoremap w!! execute ':w suda://%'
|
||||
|
||||
" ==================================================
|
||||
" vimrc handling
|
||||
" ==================================================
|
||||
|
||||
" ,v loads .vimrc
|
||||
" ,V reloads .vimrc -- activating changes (needs save)
|
||||
map <leader>v :sp ~/.config/nvim/init.vim<CR><C-W>_
|
||||
map <silent> <leader>V :source ~/.config/nvim/init.vim<CR>:filetype detect<CR>:exe ":echo 'vimrc reloaded'"<CR>
|
||||
|
||||
" ==================================================
|
||||
" Window navigation
|
||||
" ==================================================
|
||||
|
||||
" control + vim direction key to navigate windows
|
||||
noremap <C-J> <C-W>j
|
||||
noremap <C-K> <C-W>k
|
||||
noremap <C-H> <C-W>h
|
||||
noremap <C-L> <C-W>l
|
||||
|
||||
" control + arrow key to navigate windows
|
||||
noremap <C-Down> <C-W>j
|
||||
noremap <C-Up> <C-W>k
|
||||
noremap <C-Left> <C-W>h
|
||||
noremap <C-Right> <C-W>l
|
||||
|
||||
" close all windows except the current one
|
||||
nnoremap <leader>wco :only<cr>
|
||||
nnoremap <leader>wcc :cclose<cr>
|
||||
|
||||
" windows creation
|
||||
" create window on the bottom
|
||||
nnoremap <leader>wb <c-w>s
|
||||
" create vertival window
|
||||
nnoremap <leader>wv <c-w>v
|
||||
|
||||
" " arrow keys resize windows
|
||||
" nnoremap <Left> :vertical resize -10<CR>
|
||||
" nnoremap <Right> :vertical resize +10<CR>
|
||||
" nnoremap <Up> :resize -10<CR>
|
||||
" nnoremap <Down> :resize +10<CR>
|
||||
" imap <up> <nop>
|
||||
" imap <down> <nop>
|
||||
" imap <left> <nop>
|
||||
" imap <right> <nop>
|
||||
|
||||
" ==================================================
|
||||
" Splits handling
|
||||
" ==================================================
|
||||
|
||||
" Make these all work in insert mode
|
||||
imap <C-W> <C-O><C-W>
|
||||
|
||||
" - and + to resize horizontal splits
|
||||
map - <C-W>-
|
||||
map + <C-W>+
|
||||
|
||||
" alt-< or alt-> for vertical splits
|
||||
map <m-,> <C-W>>
|
||||
map <m-.> <C-W><
|
||||
|
||||
" F2 close current split (window)
|
||||
noremap <F2> <Esc>:close<CR><Esc>
|
||||
|
||||
" Deleter buffer, keep the split (switch to prev buf, delete now prev buf)
|
||||
nmap <leader>d :b#<bar>bd#<CR>
|
||||
|
||||
" ==================================================
|
||||
" Tab navigation
|
||||
" ==================================================
|
||||
map <leader>to :tabonly<cr>
|
||||
map <leader>tc :tabclose<cr>
|
||||
map <leader>tm :tabmove<CR>
|
||||
nnoremap tn :tabnew<cr>
|
||||
nnoremap th :tabfirst<CR>
|
||||
nnoremap tk :tabnext<CR>
|
||||
nnoremap tj :tabprev<CR>
|
||||
nnoremap tl :tablast<CR>
|
||||
|
||||
" move tab to first position
|
||||
nnoremap tF :tabm 0<CR>
|
||||
nnoremap tL :tabm<CR>
|
||||
|
||||
" Navigate tabs with shift-{h,l}
|
||||
noremap <S-l> gt
|
||||
noremap <S-h> gT
|
||||
|
||||
" Let 'tl' toggle between this and the last accessed tab
|
||||
let g:lasttab = 1
|
||||
nmap <Leader>tl :exe "tabn ".g:lasttab<CR>
|
||||
au TabLeave * let g:lasttab = tabpagenr()
|
||||
|
||||
" Opens a new tab with the current buffer's path
|
||||
" Super useful when editing files in the same directory
|
||||
map <leader>te :tabedit <c-r>=expand("%:p:h")<cr>/
|
||||
|
||||
" Switch CWD to the directory of the open buffer
|
||||
map <leader>cd :cd %:p:h<cr>:pwd<cr>
|
||||
|
||||
" Specify the behavior when switching between buffers
|
||||
try
|
||||
set switchbuf=useopen,usetab,newtab
|
||||
set stal=2
|
||||
catch
|
||||
endtry
|
||||
|
||||
" ==================================================
|
||||
" Buffer navigation
|
||||
" ==================================================
|
||||
nmap <A-Tab> :bnext<CR>
|
||||
nmap <S-Tab> :bprevious<CR>
|
||||
|
||||
" ==================================================
|
||||
" Clean all end of line whitespace with <Leader>S
|
||||
" ==================================================
|
||||
":nnoremap <silent><leader>S :let _s=@/<Bar>:%s/\s\+$//e<Bar>:let @/=_s<Bar>:nohl<CR>
|
||||
fun! TrimWhitespace()
|
||||
let l:save = winsaveview()
|
||||
keeppatterns %s/\s\+$//e
|
||||
call winrestview(l:save)
|
||||
endfun
|
||||
:nnoremap <silent><leader>S :call TrimWhitespace()<CR>
|
||||
|
||||
" ==================================================
|
||||
" Visual mode related
|
||||
" ==================================================
|
||||
" Visual mode pressing * or # searches for the current selection
|
||||
" Super useful! From an idea by Michael Naumann
|
||||
vnoremap <silent> * :<C-u>call VisualSelection('', '')<CR>/<C-R>=@/<CR><CR>
|
||||
vnoremap <silent> # :<C-u>call VisualSelection('', '')<CR>?<C-R>=@/<CR><CR>
|
||||
|
||||
function! VisualSelection(direction, extra_filter) range
|
||||
let l:saved_reg = @"
|
||||
execute "normal! vgvy"
|
||||
|
||||
let l:pattern = escape(@", "\\/.*'$^~[]")
|
||||
let l:pattern = substitute(l:pattern, "\n$", "", "")
|
||||
|
||||
if a:direction == 'gv'
|
||||
call CmdLine("Ack '" . l:pattern . "' " )
|
||||
elseif a:direction == 'replace'
|
||||
call CmdLine("%s" . '/'. l:pattern . '/')
|
||||
endif
|
||||
|
||||
let @/ = l:pattern
|
||||
let @" = l:saved_reg
|
||||
endfunction
|
||||
|
||||
|
||||
" ==================================================
|
||||
" Editing mappings
|
||||
" ==================================================
|
||||
" Remap VIM 0 to first non-blank character
|
||||
map 0 ^
|
||||
|
||||
" Move a line of text using ALT+[jk] or Command+[jk] on mac
|
||||
nmap <M-j> mz:m+<cr>`z
|
||||
nmap <M-k> mz:m-2<cr>`z
|
||||
vmap <M-j> :m'>+<cr>`<my`>mzgv`yo`z
|
||||
vmap <M-k> :m'<-2<cr>`>my`<mzgv`yo`z
|
||||
|
||||
if has("mac") || has("macunix")
|
||||
nmap <D-j> <M-j>
|
||||
nmap <D-k> <M-k>
|
||||
vmap <D-j> <M-j>
|
||||
vmap <D-k> <M-k>
|
||||
endif
|
||||
|
||||
" ==================================================
|
||||
" Spell checking
|
||||
" ==================================================
|
||||
" Pressing ,ss will toggle and untoggle spell checking
|
||||
map <leader>ss :setlocal spell!<cr>
|
||||
|
||||
" Shortcuts using <leader>
|
||||
map <leader>sn ]s
|
||||
map <leader>sp [s
|
||||
map <leader>sa zg
|
||||
map <leader>s? z=
|
||||
|
||||
" ==================================================
|
||||
" Other Configurations
|
||||
" ==================================================
|
||||
|
||||
" Remove the Windows ^M - when the encodings gets messed up
|
||||
noremap <Leader>m mmHmt:%s/<C-V><cr>//ge<cr>'tzt'm
|
||||
|
||||
" Quickly open a buffer for scribble
|
||||
map <leader>q :e ~/buffer<cr>
|
||||
|
||||
" Quickly open a markdown buffer for scribble
|
||||
map <leader>x :e ~/buffer.md<cr>
|
||||
|
||||
" Toggle paste mode on and off
|
||||
map <leader>pp :setlocal paste!<cr>
|
||||
|
||||
noremap <C-p> :Denite buffer file_rec tag<CR>
|
||||
|
||||
xmap <leader>a gaip*
|
||||
nmap <leader>t <C-w>s<C-w>j:terminal<CR>
|
||||
nmap <leader>vt <C-w>v<C-w>l:terminal<CR>
|
||||
nmap <leader>g :Goyo<CR>
|
||||
nmap <leader>j :set filetype=journal<CR>
|
||||
nmap <leader>l :Limelight!!<CR>
|
||||
autocmd FileType python nmap <leader>x :0,$!~/.config/nvim/env/bin/python -m yapf<CR>
|
||||
|
||||
vmap <F2> !boxes -d stone
|
||||
|
||||
" surround by quotes - frequently use cases of vim-surround
|
||||
map <leader>" ysiw"<cr>
|
||||
map <leader>' ysiw'<cr>
|
||||
|
||||
" Act like D and C
|
||||
nnoremap Y y$
|
||||
|
||||
" indent without kill the selection in vmode
|
||||
vmap < <gv
|
||||
vmap > >gv
|
||||
|
||||
" remap the annoying u in visual mode
|
||||
vmap u y
|
||||
|
||||
" shortcut to substitute current word under cursor
|
||||
nnoremap <leader>[ :%s/<c-r><c-w>//g<left><left>
|
||||
|
||||
" Change in next bracket
|
||||
nmap cinb cib
|
||||
|
||||
" Visual mode pressing * or # searches for the current selection
|
||||
" Super useful! From an idea by Michael Naumann
|
||||
vnoremap <silent> * :<C-u>call general#VisualSelection('', '')<CR>/<C-R>=@/<CR><CR>
|
||||
vnoremap <silent> # :<C-u>call general#VisualSelection('', '')<CR>?<C-R>=@/<CR><CR>
|
||||
|
||||
" delete character after cursor in insert mode
|
||||
inoremap <C-d> <Del>
|
||||
|
||||
" highlight the line which is longer than the defined margin (120 character)
|
||||
highlight MaxLineChar ctermbg=red
|
||||
autocmd FileType php,js,vue,go call matchadd('MaxLineChar', '\%120v', 100)
|
||||
|
||||
" open devdocs.io with waterfox and search the word under the cursor
|
||||
command! -nargs=? DevDocs :call system('type -p open >/dev/null 2>&1 && open https://devdocs.io/#q=<args> || waterfox -url https://devdocs.io/#q=<args>')
|
||||
autocmd FileType python,ruby,rspec,javascript,go,html,php,eruby,coffee,haml nmap <buffer> <leader>D :exec "DevDocs " . fnameescape(expand('<cword>'))<CR>
|
||||
|
||||
" Markdown
|
||||
autocmd BufNewFile,BufFilePre,BufRead *.md set filetype=markdown
|
||||
|
||||
" Keep the cursor in place while joining lines
|
||||
nnoremap J mzJ`z
|
||||
|
||||
" Quit neovim terminal
|
||||
tnoremap <C-\> <C-\><C-n>
|
||||
|
||||
" Open images with feh
|
||||
autocmd BufEnter *.png,*.jpg,*gif silent! exec "! feh ".expand("%") | :bw
|
||||
|
||||
" A |Dict| specifies the matcher for filtering and sorting the completion candidates.
|
||||
let g:cm_matcher={'module': 'cm_matchers.abbrev_matcher', 'case': 'smartcase'}
|
||||
|
||||
" Disable anoying ex mode
|
||||
nnoremap Q <Nop>
|
||||
|
||||
" Neovim :Terminal
|
||||
tmap <Esc> <C-\><C-n>
|
||||
tmap <C-w> <Esc><C-w>
|
||||
autocmd BufWinEnter,WinEnter term://* startinsert
|
||||
autocmd BufLeave term://* stopinsert
|
||||
|
||||
" vim:set et sw=2:
|
17
neovim/.config/nvim/rc.d/11-keymap-rtl.vim
Normal file
17
neovim/.config/nvim/rc.d/11-keymap-rtl.vim
Normal file
@ -0,0 +1,17 @@
|
||||
" ==================================================
|
||||
" Right-to-Left (Hebrew etc) shortcuts
|
||||
" ==================================================
|
||||
|
||||
" toggle direction mapping
|
||||
" this is useful for logical-order editing
|
||||
map <F9> :set invrl<CR>
|
||||
" do it when in insert mode as well (and return to insert mode)
|
||||
imap <F9> <Esc>:set invrl<CR>a
|
||||
|
||||
" toggle reverse insertion
|
||||
" this is useful for visual-order editing
|
||||
map <F8> :set invrevins<CR>
|
||||
" do it when in insert mode as well (and return to insert mode)
|
||||
imap <F8> <Esc>:set invrevins<CR>a
|
||||
|
||||
" vim:set et sw=2:
|
68
neovim/.config/nvim/rc.d/20-ale.vim
Normal file
68
neovim/.config/nvim/rc.d/20-ale.vim
Normal file
@ -0,0 +1,68 @@
|
||||
" ===================================================================
|
||||
" ale (Asynchronous Lint Engine) settings
|
||||
" ===================================================================
|
||||
|
||||
" Syntax / File Support
|
||||
"" Enable JSDoc syntax highlighting
|
||||
let g:javascript_plugin_jsdoc = 1
|
||||
|
||||
"" Add an error indicator to Ale
|
||||
let g:ale_sign_column_always = 1
|
||||
|
||||
function! LinterStatus() abort
|
||||
let l:counts = ale#statusline#Count(bufnr(''))
|
||||
|
||||
let l:all_errors = l:counts.error + l:counts.style_error
|
||||
let l:all_non_errors = l:counts.total - l:all_errors
|
||||
|
||||
return l:counts.total == 0 ? 'OK' : printf(
|
||||
\ '%dW %dE',
|
||||
\ all_non_errors,
|
||||
\ all_errors
|
||||
\)
|
||||
endfunction
|
||||
|
||||
set statusline=%{LinterStatus()}
|
||||
|
||||
nmap <silent> <leader>e <Plug>(ale_next_wrap)
|
||||
nmap <silent> <leader>q <Plug>(ale_previous_wrap)
|
||||
|
||||
" Ale
|
||||
let g:ale_lint_on_enter = 0
|
||||
let g:ale_lint_on_text_changed = 'never'
|
||||
let g:ale_echo_msg_error_str = 'E'
|
||||
let g:ale_echo_msg_warning_str = 'W'
|
||||
let g:ale_echo_msg_format = '[%linter%] %s [%severity%]'
|
||||
let g:ale_open_list = 1
|
||||
let g:ale_keep_list_window_open=0
|
||||
let g:ale_set_quickfix=0
|
||||
let g:ale_list_window_size = 5
|
||||
let g:ale_linters = {'python': ['flake8']}
|
||||
let g:ale_sign_error = '✖'
|
||||
let g:ale_sign_warning = '⚠'
|
||||
let g:ale_fixers = {
|
||||
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
||||
\}
|
||||
" \ 'php': ['phpcbf', 'php_cs_fixer', 'remove_trailing_lines', 'trim_whitespace'],
|
||||
let g:ale_fix_on_save = 1
|
||||
|
||||
" Use system flake8
|
||||
let g:ale_python_flake8_executable = '/usr/bin/flake8'
|
||||
|
||||
" Append our Neovim virtualenv to the list of venvs ale searches for
|
||||
" The search is performed from the buffer directory up, until a name match is
|
||||
" found; our Neovim venv lives in ~/.nvim-venv
|
||||
let g:ale_virtualenv_dir_names = ['.env', '.venv', 'env', 'virtualenv', 'venv', '.nvim-venv']
|
||||
" Explicitly list linters we care about
|
||||
let g:ale_linters = {'python': ['flake8', 'pylint']}
|
||||
" Only show warnings and errors from pylint
|
||||
let g:ale_python_pylint_options = '--disable C,R'
|
||||
let g:ale_sign_warning = '→'
|
||||
let g:ale_sign_error = '→'
|
||||
|
||||
" PHP Support
|
||||
let g:ale_php_phpcbf_standard='PSR2'
|
||||
let g:ale_php_phpcs_standard='phpcs.xml.dist'
|
||||
let g:ale_php_phpmd_ruleset='phpmd.xml'
|
||||
|
||||
" vim:set et sw=2:
|
48
neovim/.config/nvim/rc.d/20-ctrlp.vim
Normal file
48
neovim/.config/nvim/rc.d/20-ctrlp.vim
Normal file
@ -0,0 +1,48 @@
|
||||
" ==================================================
|
||||
" CtrlP
|
||||
" ==================================================
|
||||
|
||||
let g:ctrlp_working_path_mode = 'ra'
|
||||
let g:ctrlp_custom_ignore = {
|
||||
\ "dir": '\v[\/]\.(git|hg|svn)$',
|
||||
\ "file": '\v\.(exe|so|dll|jpeg|jpg|png|gif)'
|
||||
\ }
|
||||
let g:ctrlp_match_window = 'bottom,order:btt,min:1,max:15,results:30'
|
||||
|
||||
" ==================================================
|
||||
" gr opens Fuzzy tags search
|
||||
" ==================================================
|
||||
nmap gr :CtrlPBufTag<CR>
|
||||
let g:ctrlp_buftag_types = {
|
||||
\ 'go' : '--language-force=go --golang-types=ftv',
|
||||
\ 'coffee' : '--language-force=coffee --coffee-types=cmfvf',
|
||||
\ 'markdown' : '--language-force=markdown --markdown-types=hik',
|
||||
\ 'objc' : '--language-force=objc --objc-types=mpci',
|
||||
\ 'rc' : '--language-force=rust --rust-types=fTm'
|
||||
\ }
|
||||
|
||||
" ==================================================
|
||||
" Use ag for ctrlp if available
|
||||
" ==================================================
|
||||
if executable('ag')
|
||||
map <leader>f :Ag<Space>
|
||||
" Use Ag over Grep
|
||||
set grepprg="ag -i --nogroup --nocolor"
|
||||
|
||||
" Use Ag over Ack
|
||||
let g:ackprg='ag -i --nogroup --nocolor --column'
|
||||
|
||||
" Use ag in CtrlP for listing files. Lightning fast and respects .gitignore
|
||||
let g:ctrlp_user_command='ag -i %s -l --nocolor -g ""'
|
||||
endif
|
||||
|
||||
" ==================================================
|
||||
" Use ripgrep for ctrlp if available
|
||||
" ==================================================
|
||||
if executable('rg')
|
||||
set grepprg=rg\ --color=never
|
||||
let g:ctrlp_user_command = 'rg %s --files --color=never --glob ""'
|
||||
let g:ctrlp_use_caching = 0
|
||||
endif
|
||||
|
||||
" vim:set et sw=2:
|
47
neovim/.config/nvim/rc.d/20-deoplete.vim
Normal file
47
neovim/.config/nvim/rc.d/20-deoplete.vim
Normal file
@ -0,0 +1,47 @@
|
||||
" ===================================================================
|
||||
" Deoplete
|
||||
" ===================================================================
|
||||
|
||||
" Autocomplete
|
||||
call deoplete#custom#option('sources', {'php' : ['omni', 'phpactor', 'ultisnips', 'buffer']})
|
||||
let g:deoplete#enable_at_startup = 1
|
||||
|
||||
" disable autocomplete
|
||||
let g:deoplete#disable_auto_complete = 1
|
||||
if has("gui_running")
|
||||
inoremap <silent><expr><C-Space> deoplete#mappings#manual_complete()
|
||||
else
|
||||
inoremap <silent><expr><C-@> deoplete#mappings#manual_complete()
|
||||
endif
|
||||
|
||||
" deoplete + neosnippet + autopairs changes
|
||||
let g:AutoPairsMapCR=0
|
||||
call deoplete#custom#option('auto_complete_start_length', 1)
|
||||
call deoplete#custom#option('enable_at_startup', 1)
|
||||
call deoplete#custom#option('enable_smart_case', 1)
|
||||
|
||||
"" Deoplete per-autocompleter settings
|
||||
|
||||
""" Java
|
||||
autocmd FileType java setlocal omnifunc=javacomplete#Complete
|
||||
|
||||
""" Omnifunctions
|
||||
call deoplete#custom#var('omni', 'functions', {
|
||||
\ 'java' : 'eclim#java#complete#CodeComplete',
|
||||
\ 'javascript' : [
|
||||
\ 'tern#Complete',
|
||||
\ 'autocomplete_flow#Complete',
|
||||
\ 'javascriptcomplete#CompleteJS'
|
||||
\],
|
||||
\ 'css' : ['csscomplete#CompleteCSS'],
|
||||
\ 'html' : [
|
||||
\ 'htmlcomplete#CompleteTags',
|
||||
\ 'xmlcomplete#CompleteTags'
|
||||
\],
|
||||
\ 'xml' : ['xmlcomplete#CompleteTags'],
|
||||
\ 'perl' : ['perlomni#PerlComplete'],
|
||||
\})
|
||||
|
||||
let g:EclimCompletionMethod = 'omnifunc'
|
||||
|
||||
" vim:set et sw=2:
|
10
neovim/.config/nvim/rc.d/20-goyo.vim
Normal file
10
neovim/.config/nvim/rc.d/20-goyo.vim
Normal file
@ -0,0 +1,10 @@
|
||||
" ==================================================
|
||||
" Goyo
|
||||
" ==================================================
|
||||
|
||||
autocmd! User GoyoEnter Limelight
|
||||
autocmd! User GoyoLeave Limelight!
|
||||
let g:limelight_conceal_ctermfg = 100
|
||||
let g:limelight_conceal_guifg = '#83a598'
|
||||
|
||||
" vim:set et sw=2:
|
40
neovim/.config/nvim/rc.d/20-grep.vim
Normal file
40
neovim/.config/nvim/rc.d/20-grep.vim
Normal file
@ -0,0 +1,40 @@
|
||||
" ==================================================
|
||||
" Setup grep shortcuts and use ripgrep if available
|
||||
" ==================================================
|
||||
|
||||
nmap g/ :grep!<space>
|
||||
nmap g* :grep! -w <C-R><C-W><space>
|
||||
nmap ga :grepadd!<space>
|
||||
if executable("rg")
|
||||
set grepprg=rg\ --vimgrep\ --no-heading
|
||||
set grepformat=%f:%l:%c:%m,%f:%l:%m
|
||||
endif
|
||||
|
||||
" Auto open grep quickfix window
|
||||
autocmd QuickFixCmdPost *grep* cwindow
|
||||
|
||||
" Search from the git repo root, if we're in a repo, else the cwd
|
||||
function FuzzyFind(show_hidden)
|
||||
" Contains a null-byte that is stripped.
|
||||
let gitparent=system('git rev-parse --show-toplevel')[:-2]
|
||||
if a:show_hidden
|
||||
let $FZF_DEFAULT_COMMAND = g:fzf_default_command . ' --hidden'
|
||||
else
|
||||
let $FZF_DEFAULT_COMMAND = g:fzf_default_command
|
||||
endif
|
||||
if empty(matchstr(gitparent, '^fatal:.*'))
|
||||
silent execute ':FZF -m ' . gitparent
|
||||
else
|
||||
silent execute ':FZF -m .'
|
||||
endif
|
||||
endfunction
|
||||
|
||||
nnoremap <c-p> :call FuzzyFind(0)<cr>
|
||||
nnoremap <c-i> :call FuzzyFind(1)<cr>
|
||||
|
||||
" Use rg to perform the search, so that .gitignore files and the like are
|
||||
" respected
|
||||
let g:fzf_default_command = 'rg --files'
|
||||
|
||||
|
||||
" vim:set et sw=2:
|
11
neovim/.config/nvim/rc.d/20-gutentags.vim
Normal file
11
neovim/.config/nvim/rc.d/20-gutentags.vim
Normal file
@ -0,0 +1,11 @@
|
||||
" ===================================================================
|
||||
" Gutentags
|
||||
" ===================================================================
|
||||
|
||||
" Jump to definition (if anyone knows how to make this work properly...)
|
||||
let g:gutentags_modules = ['ctags', 'gtags_cscope']
|
||||
let g:gutentags_project_root = ['.root', '.git']
|
||||
let g:gutentags_plus_switch = 1
|
||||
map <silent> <F12> :CtrlPTag<cr><c-\>w
|
||||
|
||||
" vim:set et sw=2:
|
16
neovim/.config/nvim/rc.d/20-lightline.vim
Normal file
16
neovim/.config/nvim/rc.d/20-lightline.vim
Normal file
@ -0,0 +1,16 @@
|
||||
" ==================================================
|
||||
" lightline
|
||||
" ==================================================
|
||||
let g:lightline = { 'colorscheme': 'material_vim' }
|
||||
|
||||
let g:lightline.active = {
|
||||
\ 'left': [ [ 'mode', 'paste' ], [ 'readonly', 'filename','gitbranch', 'modified', 'neospinner'] ],
|
||||
\ 'right': [ [ 'lineinfo' ], [ 'percent', 'wordcount', 'charcount' ], [ 'fileformat', 'fileencoding', 'filetype', 'charvaluehex' ] ]
|
||||
\ }
|
||||
let g:lightline.component = {
|
||||
\ 'charvaluehex': '0x%B',
|
||||
\ 'readonly': '%{&readonly?"⭤":""}'
|
||||
\ }
|
||||
let g:lightline.colorscheme = 'palenight'
|
||||
|
||||
" vim:set et sw=2:
|
216
neovim/.config/nvim/rc.d/20-neomake.vim
Normal file
216
neovim/.config/nvim/rc.d/20-neomake.vim
Normal file
@ -0,0 +1,216 @@
|
||||
" +---------+
|
||||
" | General |
|
||||
" +---------+
|
||||
|
||||
" Neomake signs in the gutter
|
||||
let g:neomake_error_sign = {'text': '', 'texthl': 'NeomakeErrorSign'}
|
||||
let g:neomake_warning_sign = {
|
||||
\ 'text': '',
|
||||
\ 'texthl': 'NeomakeWarningSign',
|
||||
\ }
|
||||
let g:neomake_message_sign = {
|
||||
\ 'text': '',
|
||||
\ 'texthl': 'NeomakeWarningSign',
|
||||
\ }
|
||||
let g:neomake_info_sign = {'text': 'ℹ', 'texthl': 'NeomakeInfoSign'}
|
||||
|
||||
" update neomake when save file
|
||||
if isdirectory($HOME . "/nvim/plugged/neomake")
|
||||
call neomake#configure#automake('w')
|
||||
endif
|
||||
|
||||
|
||||
" +-----+
|
||||
" | PHP |
|
||||
" +-----+
|
||||
" standard phpcs config
|
||||
let g:neomake_php_phpcs_args_standard = 'PSR2'
|
||||
|
||||
" display warning for phpcs error
|
||||
function! SetWarningType(entry)
|
||||
let a:entry.type = 'W'
|
||||
endfunction
|
||||
|
||||
function! SetErrorType(entry)
|
||||
let a:entry.type = 'E'
|
||||
endfunction
|
||||
|
||||
function! SetMessageType(entry)
|
||||
let a:entry.type = 'M'
|
||||
endfunction
|
||||
|
||||
let g:neomake_php_enabled_makers = ['phpmd', 'phpcs', 'phpstan', 'php']
|
||||
|
||||
let g:neomake_php_phpcs_maker = {
|
||||
\ 'args': ['--report=csv', '--standard=PSR2'],
|
||||
\ 'errorformat':
|
||||
\ '%-GFile\,Line\,Column\,Type\,Message\,Source\,Severity%.%#,'.
|
||||
\ '"%f"\,%l\,%c\,%t%*[a-zA-Z]\,"%m"\,%*[a-zA-Z0-9_.-]\,%*[0-9]%.%#',
|
||||
\ 'postprocess': function('SetWarningType'),
|
||||
\ }
|
||||
|
||||
let g:neomake_php_phpstan_maker = {
|
||||
\ 'args': ['analyse', '--error-format', 'raw', '--no-progress', '--level', '7'],
|
||||
\ 'errorformat': '%W%f:%l:%m',
|
||||
\ 'postprocess': function('SetWarningType'),
|
||||
\ }
|
||||
|
||||
let g:neomake_php_php_maker = {
|
||||
\ 'args': ['-l', '-d', 'display_errors=1', '-d', 'log_errors=0',
|
||||
\ '-d', 'xdebug.cli_color=0'],
|
||||
\ 'errorformat':
|
||||
\ '%-GNo syntax errors detected in%.%#,'.
|
||||
\ '%EParse error: %#syntax error\, %m in %f on line %l,'.
|
||||
\ '%EParse error: %m in %f on line %l,'.
|
||||
\ '%EFatal error: %m in %f on line %l,'.
|
||||
\ '%-G\s%#,'.
|
||||
\ '%-GErrors parsing %.%#',
|
||||
\ 'output_stream': 'stdout',
|
||||
\ 'postprocess': function('SetErrorType'),
|
||||
\ }
|
||||
|
||||
let g:neomake_php_phpmd_maker = {
|
||||
\ 'args': ['%:p', 'text', 'cleancode,codesize,design,unusedcode,naming'],
|
||||
\ 'errorformat': '%W%f:%l%\s%\s%#%m',
|
||||
\ 'postprocess': function('SetMessageType'),
|
||||
\ }
|
||||
|
||||
|
||||
" +------------+
|
||||
" | Javascript |
|
||||
" +------------+
|
||||
let g:neomake_javascript_enabled_makers = ['eslint']
|
||||
|
||||
" Use the fix option of eslint
|
||||
let g:neomake_javascript_eslint_args = ['-f', 'compact', '--fix']
|
||||
|
||||
" Callback for reloading file in buffer when eslint has finished and maybe has
|
||||
" autofixed some stuff
|
||||
function! s:Neomake_callback(options)
|
||||
if (a:options.name ==? 'eslint') && (a:options.has_next == 0)
|
||||
" execute('checktime ' . bufname('%'))
|
||||
execute('edit')
|
||||
endif
|
||||
endfunction
|
||||
|
||||
" Call neomake#Make directly instead of the Neomake provided command
|
||||
autocmd BufWritePost *.js,*.jsx :silent :call neomake#Make(1, [], function('s:Neomake_callback'))
|
||||
|
||||
|
||||
" +--------+
|
||||
" | Golang |
|
||||
" +--------+
|
||||
let g:neomake_go_enabled_makers = [ 'go', 'golangcifast' ]
|
||||
let g:neomake_go_golangci_maker = {
|
||||
\ 'exe': 'golangci-lint',
|
||||
\ 'args': [ 'run', '--enable=unparam' ],
|
||||
\ 'append_file': 0,
|
||||
\ 'cwd': '%:h',
|
||||
\ 'postprocess': function('SetWarningType')
|
||||
\ }
|
||||
|
||||
let g:neomake_go_golangcifast_maker = {
|
||||
\ 'exe': 'golangci-lint',
|
||||
\ 'args': [ 'run', '--fast', ],
|
||||
\ 'append_file': 0,
|
||||
\ 'cwd': '%:h',
|
||||
\ 'postprocess': function('SetWarningType')
|
||||
\ }
|
||||
|
||||
let g:neomake_go_gometalinter_maker = {
|
||||
\ 'args': [
|
||||
\ '--disable-all',
|
||||
\ '--fast',
|
||||
\ '--enable=deadcode',
|
||||
\ '--enable=unparam',
|
||||
\ '--enable=unused',
|
||||
\ '--enable=errcheck',
|
||||
\ ],
|
||||
\ 'append_file': 0,
|
||||
\ 'cwd': '%:h',
|
||||
\ 'errorformat':
|
||||
\ '%f:%l:%c:%t%*[^:]: %m,' .
|
||||
\ '%f:%l::%t%*[^:]: %m',
|
||||
\ 'postprocess': function('SetWarningType')
|
||||
\ }
|
||||
|
||||
let g:go_fmt_options = {
|
||||
\ 'gofmt': '-s',
|
||||
\ }
|
||||
|
||||
nnoremap <leader>gg :Neomake<space>
|
||||
autocmd FileType go nmap <buffer><leader>go :exec "Neomake golangci"<cr>
|
||||
|
||||
|
||||
" +-----+
|
||||
" | SQL |
|
||||
" +-----+
|
||||
let g:neomake_sql_enabled_makers = ['sqlint']
|
||||
|
||||
|
||||
" +------+
|
||||
" | YAML |
|
||||
" +------+
|
||||
let g:neomake_yaml_enabled_makers = [ 'yamllint' ]
|
||||
|
||||
|
||||
" +---------------+
|
||||
" | Racket (Lisp) |
|
||||
" +---------------+
|
||||
let g:neomake_scheme_enabled_makers = ['raco']
|
||||
|
||||
let g:neomake_scheme_raco_maker = {
|
||||
\ 'exe': 'raco',
|
||||
\ 'args': ['expand'],
|
||||
\ 'errorformat': '%-G %.%#,%E%f:%l:%c: %m'
|
||||
\ }
|
||||
|
||||
" Spinner??? OMG
|
||||
let s:spinner_index = 0
|
||||
let s:active_spinners = 0
|
||||
let s:spinner_states = ['|', '/', '--', '\', '|', '/', '--', '\']
|
||||
let s:spinner_states = ['┤', '┘', '┴', '└', '├', '┌', '┬', '┐']
|
||||
let s:spinner_states = ['←', '↑', '→', '↓']
|
||||
let s:spinner_states = ['d', 'q', 'p', 'b']
|
||||
let s:spinner_states = ['■', '□', '▪', '▫', '▪', '□', '■']
|
||||
let s:spinner_states = ['→', '↘', '↓', '↙', '←', '↖', '↑', '↗']
|
||||
let s:spinner_states = ['.', 'o', 'O', '°', 'O', 'o', '.']
|
||||
|
||||
function! StartSpinner()
|
||||
let b:show_spinner = 1
|
||||
let s:active_spinners += 1
|
||||
if s:active_spinners == 1
|
||||
let s:spinner_timer = timer_start(1000 / len(s:spinner_states), 'SpinSpinner', {'repeat': -1})
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! StopSpinner()
|
||||
let b:show_spinner = 0
|
||||
let s:active_spinners -= 1
|
||||
if s:active_spinners == 0
|
||||
:call timer_stop(s:spinner_timer)
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! SpinSpinner(timer)
|
||||
let s:spinner_index = float2nr(fmod(s:spinner_index + 1, len(s:spinner_states)))
|
||||
redraw
|
||||
endfunction
|
||||
|
||||
function! SpinnerText()
|
||||
if get(b:, 'show_spinner', 0) == 0
|
||||
return " "
|
||||
endif
|
||||
|
||||
return s:spinner_states[s:spinner_index]
|
||||
endfunction
|
||||
|
||||
augroup neomake_hooks
|
||||
au!
|
||||
autocmd User NeomakeJobInit :call StartSpinner()
|
||||
autocmd User NeomakeFinished :call StopSpinner()
|
||||
" autocmd User NeomakeFinished :echom "Build complete"
|
||||
augroup END
|
||||
|
||||
|
||||
" vim:set et sw=2:
|
11
neovim/.config/nvim/rc.d/20-nerdtree.vim
Normal file
11
neovim/.config/nvim/rc.d/20-nerdtree.vim
Normal file
@ -0,0 +1,11 @@
|
||||
" ==================================================
|
||||
" NERDTree
|
||||
" ==================================================
|
||||
|
||||
let NERDTreeIgnore = ['\.pyc$', '\.pyo$']
|
||||
map <F3> :NERDTreeToggle<CR>
|
||||
let NERDTreeShowHidden=1
|
||||
let g:NERDTreeDirArrowExpandable = '↠'
|
||||
let g:NERDTreeDirArrowCollapsible = '↡'
|
||||
|
||||
" vim:set et sw=2:
|
9
neovim/.config/nvim/rc.d/20-peartree.vim
Normal file
9
neovim/.config/nvim/rc.d/20-peartree.vim
Normal file
@ -0,0 +1,9 @@
|
||||
" ==================================================
|
||||
" Pear Tree
|
||||
" ==================================================
|
||||
|
||||
let g:pear_tree_smart_openers=1
|
||||
let g:pear_tree_smart_closers=1
|
||||
let g:pear_tree_smart_backspace=1
|
||||
|
||||
" vim:set et sw=2:
|
10
neovim/.config/nvim/rc.d/20-php-refactoring.vim
Normal file
10
neovim/.config/nvim/rc.d/20-php-refactoring.vim
Normal file
@ -0,0 +1,10 @@
|
||||
" ==================================================
|
||||
" PHP refactoring
|
||||
" ==================================================
|
||||
|
||||
let g:vim_php_refactoring_default_property_visibility = 'private'
|
||||
let g:vim_php_refactoring_default_method_visibility = 'private'
|
||||
let g:vim_php_refactoring_auto_validate_visibility = 1
|
||||
let g:vim_php_refactoring_phpdoc = "pdv#DocumentCurrentLine"
|
||||
|
||||
" vim:set et sw=2:
|
13
neovim/.config/nvim/rc.d/20-python-mode.vim
Normal file
13
neovim/.config/nvim/rc.d/20-python-mode.vim
Normal file
@ -0,0 +1,13 @@
|
||||
" ==================================================
|
||||
" Disable python-mode rope completion (using Jedi)
|
||||
" Disable folding
|
||||
" Don't trim whitespace on save
|
||||
" ==================================================
|
||||
let g:pymode_rope_completion = 0
|
||||
let g:pymode_folding = 0
|
||||
let g:pymode_rope = 0
|
||||
let g:pymode_trim_whitespaces = 0
|
||||
let g:pymode_lint = 0
|
||||
let g:pymode_doc = 0
|
||||
|
||||
" vim:set et sw=2:
|
7
neovim/.config/nvim/rc.d/20-supertab.vim
Normal file
7
neovim/.config/nvim/rc.d/20-supertab.vim
Normal file
@ -0,0 +1,7 @@
|
||||
" ==================================================
|
||||
" SuperTab
|
||||
" ==================================================
|
||||
|
||||
let g:SuperTabDefaultCompletionType = "<C-n>"
|
||||
|
||||
" vim:set et sw=2:
|
38
neovim/.config/nvim/rc.d/20-tagbar.vim
Normal file
38
neovim/.config/nvim/rc.d/20-tagbar.vim
Normal file
@ -0,0 +1,38 @@
|
||||
" ==================================================
|
||||
" Tagbar Mapping
|
||||
" ==================================================
|
||||
|
||||
nmap <F5> :TagbarToggle<CR>
|
||||
|
||||
let g:tagbar_width = 30
|
||||
let g:tagbar_iconchars = ['↠', '↡']
|
||||
let g:tagbar_autofocus = 1
|
||||
|
||||
let g:tagbar_type_go = {
|
||||
\ 'ctagstype' : 'go',
|
||||
\ 'kinds' : ['p:package', 'i:imports:1', 'c:constants', 'v:variables', 't:types', 'n:interfaces', 'w:fields', 'e:embedded', 'm:methods', 'r:constructor', 'f:functions'],
|
||||
\ 'sro' : '.',
|
||||
\ 'kind2scope' : {'t' : 'ctype', 'n' : 'ntype'},
|
||||
\ 'scope2kind' : {'ctype' : 't', 'ntype' : 'n'},
|
||||
\ 'ctagsbin' : 'gotags',
|
||||
\ 'ctagsargs' : '-sort -silent'
|
||||
\ }
|
||||
|
||||
let g:tagbar_type_rust = {
|
||||
\ 'ctagstype' : 'rust',
|
||||
\ 'kinds' : [
|
||||
\'T:types,type definitions',
|
||||
\'f:functions,function definitions',
|
||||
\'g:enum,enumeration names',
|
||||
\'s:structure names',
|
||||
\'m:modules,module names',
|
||||
\'c:consts,static constants',
|
||||
\'t:traits',
|
||||
\'i:impls,trait implementations',
|
||||
\]
|
||||
\}
|
||||
|
||||
" PHP Support
|
||||
let g:tagbar_phpctags_bin='~/.local/bin/phpctags'
|
||||
|
||||
" vim:set et sw=2:
|
6
neovim/.config/nvim/rc.d/20-ultisnips.vim
Normal file
6
neovim/.config/nvim/rc.d/20-ultisnips.vim
Normal file
@ -0,0 +1,6 @@
|
||||
" better key bindings for UltiSnipsExpandTrigger
|
||||
let g:UltiSnipsExpandTrigger="<tab>"
|
||||
let g:UltiSnipsJumpForwardTrigger="<c-j>"
|
||||
let g:UltiSnipsJumpBackwardTrigger="<c-k>"
|
||||
|
||||
" vim:set et sw=2:
|
29
neovim/.config/nvim/rc.d/20-vdebug.vim
Normal file
29
neovim/.config/nvim/rc.d/20-vdebug.vim
Normal file
@ -0,0 +1,29 @@
|
||||
" Debug
|
||||
if !exists('g:vdebug_options')
|
||||
let g:vdebug_options = {}
|
||||
endif
|
||||
let g:vdebug_options['break_on_open'] = 0
|
||||
let g:vdebug_options['watch_window_style'] = 'compact'
|
||||
let g:vdebug_options["port"] = 9000
|
||||
let g:vdebug_keymap = {
|
||||
\ "run" : "<F5>",
|
||||
\ "run_to_cursor" : "<F9>",
|
||||
\ "step_over" : "<F2>",
|
||||
\ "step_into" : "<F3>",
|
||||
\ "step_out" : "<F4>",
|
||||
\ "close" : "<F6>",
|
||||
\ "detach" : "<F7>",
|
||||
\ "set_breakpoint" : "<F10>",
|
||||
\ "get_context" : "<F11>",
|
||||
\ "eval_under_cursor" : "<F12>",
|
||||
\ "eval_visual" : "<F8>",
|
||||
\}
|
||||
" map the project when used in a vagrant / vm | vm path : host past
|
||||
let g:vdebug_options["path_maps"] = {
|
||||
\}
|
||||
|
||||
" redefine the characters
|
||||
autocmd VimEnter * sign define breakpt text= texthl=DbgBreakptSign linehl=DbgBreakptLine
|
||||
autocmd VimEnter * sign define current text= texthl=DbgCurrentSign linehl=DbgCurrentLine
|
||||
|
||||
" vim:set et sw=2:
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user