12/13/2023 0 Comments Setting vim shortcuts for rstudio![]() ![]() It provides the basic tools for working with Neovim, including a package manager, Treesitter, LSP integration, etc. If you don't want to install everything one by one, I recommend following the kick starter, provided by nvim-lua/kickstart.nvim. The important thing is to create an a file. There are plenty of tutorials out there on this topic, so I won't go into the details here. Instalation process requiredÄŻirst of all, make sure to install Neovim and Tmux. Then, you can start transforming your code to make it look like serious software, all within one window without moving all the. What I realized is that you can still prototype like notebooks (but with a perspective closer to RStudio) with one pane for your code and another pane with your REPL open. Although there are not many articles about it, and the community using Vim/Emacs is quite small compared to other options, I found it pretty cool because it is minimalistic (though you can customize it extensively), fast, and promises to increase productivity after mastering the Vim keybindings (in 10 years). I was curious about using these tools for data science projects. ![]() When I moved to Julia, I realized that the REPL is in another level, and I understood that an important part of this community uses (Neo)Vim or Emacs for development. On the other hand, the script perspective didn't help me with fast iteration when I needed quick answers to simple questions. Working with notebooks can lead to some weird behaviors, like running cells in different positions, populating your analysis with too much unnecessary information and plots, not creating abstractions when needed, and having issues with reproducibility. Unfortunately, I think Grus is right about it. With that in mind, when I read the book "Approaching Almost Any Machine Learning Problem" by Abhishek Thakur, and then watched the controversial and yet funny conference by Joel Grus on why he dislikes notebooks, I started to think deeply about the perspective of writing software that follows good practices, is expressive, and still easy to prototype. I have also worked with VSCode, although I am not a big fan of it, it has helped me in some specific use cases where a more "software engineering" perspective is needed. I used them extensively in my first job in analytics, and they really helped me dive into the problem and experiment with different use cases. Why start using Neovim and Tmux? My motivations Finally, I will dive into the details that still need improvement. With this typical kick starter in Neovim and Tmux, I will explain some changes and new packages that are important for this purpose. In this blog, I will mention the things you can add to make it comfortable for data analysis or more serious development. ![]() The idea is to work with a double panel structure, where one side contains your code and the other side has the REPL, which receives the snippets of code you send from the code side. This setup is not strictly related to Julia and can also be used with Python and R. In this post, I will provide some notes on getting started with Neovim for a Data Science Workflow. Some challenges for improving the workflow.Why start using Neovim and Tmux? My motivations. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |