yannickperrenet / dotfiles Goto Github PK
View Code? Open in Web Editor NEW๐ My dotfiles.
Home Page: https://github.com/yannickperrenet/iscripts
License: MIT License
๐ My dotfiles.
Home Page: https://github.com/yannickperrenet/iscripts
License: MIT License
This is great when developing as you can easy switch between the two windows you are using
Just like in Vim, were you can open a bunch of different files in buffers (and search between the buffers). Would be great if it is possible in the window manager to hide windows and search between them (with the exact same mechanics as in Vim and thus replacing your currently focused window and placing it in a buffer). Now I am just placing the window in a different workspace (using i3) and then use rofi to search between windows using their titles.
Basically I want to extend gO
to other filetypes than just help
and :Man
buffers.
Neovim source of how its implemented.
Maybe I can write this in Lua and show gO
results in a location list.
Just wanted to list this here: neovim/neovim#8805
Modifying the terminal buffer is not possible, also not with something like:
augroup Terminal
au!
au TermEnter * setlocal modifiable
augroup END
Sadly, this makes impossible to use terminal vi-mode like shortcuts to edit commands. Instead I will have to stick to using the terminal's emacs bindings, such as <C-w>
.
Either the .gitignore
file in the directory in which vim is opened, or if vim is opened in a subdirectory it should search for the project level .gitignore
For example jumping between if
, elif
and else
using %
. But in a smart way so that it doesn't jump to nested occurrences of another if
Similar to https://github.com/andymass/vim-matchup using the treesitter-integration
, just only stripping out the %
jumping.
It should be able to handle it dynamically, since the screen might change in different setups.
xrandr --output DP-3 --same-as eDP-1
Example .gitignore
# Ignore everything
*
# Except
!vim/
Now running ag "text" .
will not search the vim/
directory. In certain situations it is fine running ag -U "text"
instead.
I have the feeling that I am not managing my $PATH all that well.
Maybe this helps to better understand environment variable in general: https://wiki.archlinux.org/index.php/environment_variables
https://github.com/asdf-vm/asdf for multiple programming languages.
I think I would like that.
Great to select everything within a function or an entire if
, else
block. Even adding own mappings for this.
Idea is that you can toggle a preview window (or floating window whatever) for the currently selected item in the quickfix list. Of course using its lines so that it is clear what the surrounded code is of the match.
I use Ubuntu 20.10
Bug was fixed in: https://git.suckless.org/dmenu/commit/db6093f6ec1bb884f7540f2512935b5254750b30.html
However, with Ubuntu's slow release schedule there is no upgrade path yet. Instead to solve the bug you need to downgrade from 45-1 to 44-1:
sudo apt install <path-to-deb>
Instead of having to go via the quickfix window, it would be much better to have a mapping that does this.
Currently I have spread the configuration over different git repositories:
.config
.local/bin
And there is potential for:
.opt
to contain some git submodulesThings to consider:
Add the following to the "Custom key mappings":
# Tabs have their own stack (so up and down) of history
map J goBack
map K goForward
map H previousTab
map L nextTab
Ideas:
Currently, in my i3
setup I struggle to use my bluetooth mouse and login to the regular Ubuntu
so I can use the plain and easy settings.
I no longer want to be depended on external service providers to store my files.
Current ideas include:
Have a look at Neovim options for native LSP support.
Came across:
Currently, I have to set up an LSP for every Python project I work on which ale then auto detects (given a certain project structure).
"In that case the DisplayPort/HDMI of the dock use DisplayLink and thus likely need an additional driver."
More info: https://askubuntu.com/questions/1188710/lenovo-thunderbolt-3-dock-hdmi-displayport-19-10
I ran into another cool project: https://github.com/chubin/cheat.sh and would like to do something like:
# What I don't want
curl cheat.sh/zip
# What I do want
cheat zip
Another screencast from Greg Hurrell that can be useful: Customizing commands with shell functions
I added them quickly to my dotfiles as the projects seemed very interesting. I should look into them more so they become part of my regular workflow.
Dunst: https://github.com/dunst-project/dunst
I can immediately combine this with setting up pretty notifications that run on a cron schedule:
* * * * 1 DISPLAY=:0 notify-send "hello world"
For my installation script repo I can create a file containing crontabs and run crontab <file-name>
to import them to the current user.
(Nvim 0.5.0 release yeeej!)
Also have a look at #7
For example:
https://github.com/easymotion/vim-easymotion
Ideally like the .
command I also want repeatable motions.
Idea:
For example, in pyproject.toml
of https://github.com/yannickperrenet/cutter-py:
[tool.poetry.scripts]
format = "scripts:format"
lint = "scripts:lint"
Not sure why, but no references are shown.
EDIT: Actually they are, but it takes almost a minute. Could be because no specific venv was setup for the project.
I want something like: https://github.com/thestinger/termite#selection-mode which does not seem to be supported in gnome-terminal (https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/79)
In particular look at nvm
The dotfiles work on both systems just not to their full entirety. For example i3
would not work on macOS, however, it should not throw an error because it is never invoked.
See: davatorium/rofi#1050. Which was added in release 1.6.0.
How to: element-index
Probably has to do with the rescaling of the dpi in .Xresources
.
Currently, I cannot select where to download my files. Either I fix the nautilus scaling or I can set up an alternative application (maybe even ranger
) to choose the directory in which I want to save the downloaded file.
Some YouTube channels I came across to look into:
Tool to use:
What it should do:
pyrightconfig.json
so my Vim lsp support workspyproject.toml
. And so I should look into pypoetry
as wellA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.