Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

vim

Running Python code in Vim

August 15, 2022 by Magenaut

I am writing Python code using Vim, and every time I want to run my code, I type this inside Vim:

Categories Python, Q&A Tags python, vim Leave a comment

Copy text from one tmux pane to another (using vim)

August 11, 2022 by Magenaut

I have two files opened in vim, each in one tmux pane. I would like to copy let’s say 10 lines from one file to another.

Categories Q&A, Unix & Linux Tags copy-paste, tmux, vim Leave a comment

How to fix Ctrl + arrows in Vim?

August 11, 2022 by Magenaut

I am using Putty -> Suse box -> vim 7.2 combo for editing and want to remap Ctrl + arrows combo to a particular task. But for some reason, Vim ignores the shortcut and goes into insert mode and inserts character “D” (for left) of “C” (for right).

Categories Q&A, Unix & Linux Tags keyboard, linux, putty, vim Leave a comment

How to scroll large datafile while keeping header

August 11, 2022 by Magenaut

Suppose I have some large datafile, which overflow the screen in both vertical and horizontal direction. How can I browse this file, while the header-lines stay on the screen?

Categories Q&A, Unix & Linux Tags less, pager, scrolling, vim Leave a comment

Why do Vim colors look different inside and outside of tmux?

August 10, 2022 by Magenaut

Environment:

Categories Q&A, Unix & Linux Tags colors, terminal, tmux, vim Leave a comment

How to get vim to work with tmux properly?

August 10, 2022 by Magenaut

I’m trying to figure out how to get vim and tmux play together.

Categories Q&A, Unix & Linux Tags keyboard-shortcuts, tmux, vim Leave a comment

What is meant by a shell is in “vi” mode or “emacs” mode?

August 10, 2022 by Magenaut

This question follows directly from the answer. In this case I am specifically unable to understand the part which says:

Categories Q&A, Unix & Linux Tags command-line, keyboard-shortcuts, shell, vi-mode, vim Leave a comment

vim: create file with +x bit

August 10, 2022 by Magenaut

Is there any way to set +x bit on script while creating?

Categories Q&A, Unix & Linux Tags chmod, executable, shell-script, vim Leave a comment

What does the ‘!’ really do when it’s added to an ex command (:wq! | :w! | :q! )?

August 9, 2022 by Magenaut

I understand that it means force to do something.

Categories Q&A, Unix & Linux Tags vim Leave a comment

How do I remotely edit files via ssh?

August 9, 2022 by Magenaut

I have to edit some files placed on some server I could reach via ssh.

Categories Q&A, Unix & Linux Tags editors, ssh, vim Leave a comment
Older posts
Page1 Page2 … Page4 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress