How to setup everything when you don't use either or
- Maven
- Gradle
- Ant
- Eclipse
- IntelliJ
| ! | |
| # | |
| % | |
| & | |
| ( | |
| ) | |
| * | |
| ***** | |
| + | |
| = |
| // This code was autogenerated with `dbus-codegen-rust -nd org.freedesktop.DBus`, see https://github.com/diwic/dbus-rs | |
| use dbus as dbus; | |
| #[allow(unused_imports)] | |
| use dbus::arg; | |
| use dbus_tree as tree; | |
| pub trait OrgFreedesktopDBus { | |
| fn hello(&self) -> Result<String, tree::MethodErr>; | |
| fn request_name(&self, arg0: &str, arg1: u32) -> Result<u32, tree::MethodErr>; | |
| fn release_name(&self, arg0: &str) -> Result<u32, tree::MethodErr>; |
While all rust documentation has some pretty nice themes, it's a bother to have to select the proper theme for evey single repo, and sometimes this choice does not affect other modules.
Simply add this to your ENV.
# .zshrc
export RUSTDOCFLAGS="--default-theme=ayu"There's a better way to do this, it's to modify the Cargo doc. So that's a toml file that is held in the user directory.
| " Use K to show documentation in preview window. | |
| " For most purposes (mostly class), it's better to keep the call to man | |
| au Filetype rust,java,go nnoremap <silent> K :call <SID>show_documentation()<CR> | |
| "nnoremap <silent> K :call <SID>show_documentation()<CR> | |
| function! s:show_documentation() | |
| if (index(['vim','help'], &filetype) >= 0) | |
| execute 'h '.expand('<cword>') | |
| else | |
| call CocAction('doHover') |
| git config --global url.ssh://git@github.com/.insteadOf https://github.com/ |
| #!/usr/bin/env -S bash -e | |
| # This script is meant to be called through rofi | |
| # Hopefully as an element of polybar | |
| # Polybar config | |
| # | |
| # rofi -show bt -modes "bt:bt-choice.sh" | |
| # | |
| # [module/bt] | |
| # type = custom/script |