Pocoloco is a terminal-based application built in Go using the Bubble Tea package for easier navigation of terminal.
- File Navigation: Navigate through directories using intuitive keyboard shortcuts.
- File Editing: Open and edit files with
nano
directly from the terminal. - Search and Filter: Search and filter files dynamically as you type.
- Make sure you are on linux or desbian based system. This files does not run on Windows, however is compatible with WSL.
- Make sure you have the
xclip
along withnano
andcode
- You can download
xclip
by running the following command:sudo apt-get install xclip
- Clone the repository:
git clone https://github.com/JIsaacSamuel/pocoloco.git
- Navigate into the directory where
main.go
resides:cd cmd/pocoloco
- Run the Go project:
go run main.go
This will open the command in an alternate buffer screen within the terminal. If you are using WSL2 with ubuntu distro like me you can access the command pocoloco
anywhere in the terminal by following steps given below:
- Build the executable:
go build
- Move the executable to
/usr/local/bin/
:mv pocoloco /usr/local/bin/
Key | Action |
---|---|
up |
Move the selection cursor up in the list. |
down |
Move the selection cursor down in the list. |
ctrl+c |
Copy the path of current directory and close the application. |
esc |
Clear the screen and quit the application. |
enter |
Open the selected file or directory. |
ctrl+z |
Navigate to the parent directory. |
ctrl+s |
Executes code . in the current directory. |
backspace |
Delete the last character of the search query. |
Dynamic Input | Filter files and directories dynamically by typing. |